开发者

Navigation ViewController in iPhone

开发者 https://www.devze.com 2022-12-23 13:39 出处:网络
Please tell me which ViewControllers can be placed inside UINavigationViewContoller? I.e. can I make a UINavigationVi开发者_如何转开发ewController the root view for UITableViewController or UITabView

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

精彩评论

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