UINavigationBar autoresizing

前端 未结 8 2022
忘了有多久
忘了有多久 2020-12-08 11:39

In my app, I got a UINavigationController. Unfortunately, when I rotate the device and the interface orientation changes, the UINavigationBar doesn\'t change its height. In

8条回答
  •  失恋的感觉
    2020-12-08 12:42

    I just tried a few things just within Interface Builder and Xcode and as long as you use the UINavigationBarController as RootViewController it works as described - getting smaller. Did you change any things within the Controller itself or in parts of how the Controller is loaded? Especially concerning the firing of events? I had some bad expiriences with the UITabBarController in terms of breaking the proper messaging and got some 'interessting' view side effects. Just a try and a guess.

提交回复
热议问题