开发者

SplitviewController as a subpage of a NavigationController

I am trying to have add a splitview as a subpage in UINavigationController hiera开发者_Python百科rchy. I am guess this is possible, but not sure. Otherwise, I will just have to do similar functionality manually.


You cannot do that, a UISplitViewController must be the root controller of your app.

From Apple:

A split view controller must always be the root of any interface you create. In other words, you must always install the view from aUISplitViewController object as the root view of your application’s window. The panes of your split-view interface may then contain navigation controllers, tab bar controllers, or any other type of view controller you need to implement your interface.

http://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/iPadControllers/iPadControllers.html#//apple_ref/doc/uid/TP40007457-CH6-SW2

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜