开发者

How can I replace UINavigationController as left hand view in UISplitViewController in Interface Builder?

My main view controller in my iPhone app is a UITabBarController. I want to use it as the left-hand view controller in a UISplitViewController, but Interface Buil开发者_StackOverflowder doesn't want to play nice and let me do it. Is it possible to replace the left view controller in a UISplitViewController? If so, how do I do it?

I realize I can do this in code, but I'd prefer to do it in Interface Builder.


Turns out you can't replace the UINavigationController with a stock UITabBarController because the UITabBarController only supports portrait by default. So I'd have to inherit from UITabBarController and override that method etc etc which I don't want to do.

After playing around with UISplitViewController, though, I find it to be mostly useless, so I've abandoned it as my root view controller.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜