Using Xcode 4.x I created a SplitView project for iPad
From RootViewController I'm trying to display a开发者_开发知识库 TableView inside detailView by doing this:
[detailViewController.navigationController pushViewController:slc animated:YES];
This does not work for me and upon investigation I find that detailViewController.navigationController is always nil
I don't know why this is nil or how to go about making this not nil.
appreciate any help I can get
thanks Dhoti
Try this:
[self.navigationController pushViewController:slc animated:YES];
精彩评论