开发者

In Interface Builder, can't set a UITabBarCotnroller's "Top Bar" to Navigation Controller

开发者 https://www.devze.com 2023-02-14 23:41 出处:网络
I create a new XIB file, drag a UITabBarController in it, and then try to set the Top Bar to Navigation Bar.

I create a new XIB file, drag a UITabBarController in it, and then try to set the Top Bar to Navigation Bar.

No matter what I do, it goes back to Unspecified.

I think I should be able to set the Top Bar to Navigation Bar so I can lay out my views assuming I've got both a tab bar and a navigation bar, shouldn't开发者_StackOverflow社区 I?

Is this intended behaviour???


I think this is an Apple way to remind you that UITabBarController is not supposed to be pushed in UINavigationController. Related question - Tab bar controller inside a navigation controller, or sharing a navigation root view.

0

精彩评论

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