开发者

detailViewController.navigationController is always nil

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜