pushViewController
bayfatih2000 opened this issue · comments
bayfatih2000 commented
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
bayfatih2000 commented
Also, storyboard (from table cell to second view controller) is not working. I don't understand why?