I want to show rootview controller(uitableviewcontroller sublass) in splitview in portrait mode which is by default hid开发者_StackOverflow中文版den.when i switch to landscape mode its visible but i want to show this in portrait mode also.
thanx for any help.
This is not possible using the standard UISplitViewController class. Apple has a private API they use to do this same thing in the Settings app. Take a look at this MGSplitViewController which should allow you to achieve the same effect without breaking the private API rules.
Take a look at APSplitViewController.
精彩评论