UINavigationController shows blank view
Posted
by
Adam8797
on Stack Overflow
See other posts from Stack Overflow
or by Adam8797
Published on 2011-03-05T23:13:10Z
Indexed on
2011/03/05
23:25 UTC
Read the original article
Hit count: 183
I am making a simple navigation based application that drills down one level and show a new xib file each time. When I drill down one level my screen shows up blank. I still have the navigation controller at the top with a back button but my view dosent load.
Here is my code
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
circle_area *subViewOneController = [[circle_area alloc] init];
UIViewController *tvc = subViewOneController;
if (indexPath.row == 0 && indexPath.section == 0) {
[[self navigationController] pushViewController:tvc animated:YES];
}
}
like I said this returns a blank screen.
© Stack Overflow or respective owner