开发者

show rootview controller (uitableviewcontroller subclass) in splitview in portrait mode

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.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜