Navigation ViewController in iPhone
Please tell me which ViewController
s 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
精彩评论