开发者

Navigation ViewController in iPhone

Please tell me which ViewControllers can be placed inside UINavigationViewContoller?

I.e. can I make a UINavigationVi开发者_如何转开发ewController the root view for UITableViewController or UITabViewController?

Thank You


From the Apple docs:

initWithRootViewController:

Initializes and returns a newly created navigation controller.

  • (id)initWithRootViewController:(UIViewController *)rootViewController Parameters

rootViewController

The view controller that resides at the bottom of the navigation stack. This object cannot be an instance of the UITabBarController class.

So anything but an UITabBarController is fine

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜