UITableViewTricks
UITableViewTricks copied to clipboard
pushViewController
When I select a cell on the table, it passes to second screen. However, the second screen comes with only a black page. Nothing (button, label...) is seen.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { ViewController2 *view2 = [[ViewController2 alloc] init]; [self.navigationController pushViewController:view2 animated:YES]; }
What can I do ?
Thank you
Also, storyboard (from table cell to second view controller) is not working. I don't understand why?