问题
Is it possible to push SplitViewController on Navigation Controller?
I am getting this error :
Split View Controllers cannot be pushed to a Navigation Controller <UINavigationController: 0x9618830>.
Thank you.
回答1:
This is because Apple doesn't want you to push split view controllers into navigation controllers. Their guidelines say that if you use a UISplitViewController, it has to be visible at all times in your app, except from overlaying it with modal view controllers.
回答2:
I did manage to put a splitview controller as an item in a tab bar controller
来源:https://stackoverflow.com/questions/6855454/how-can-we-push-uisplitviewcontroller-to-a-uinavigationcontroller