开发者

uitabbarcontroller 'moreviewcontroller' orientation

开发者 https://www.devze.com 2023-02-13 15:41 出处:网络
I could rotate my tabbarcontroller app in every orientation previously - however - as I have now exceeded the set amount of fixed tabbaritems the tabbarcontroller has automatically added the\'moreview

I could rotate my tabbarcontroller app in every orientation previously - however - as I have now exceeded the set amount of fixed tabbaritems the tabbarcontroller has automatically added the'moreviewcontroller' and now the app wont change its orientation (I imagine as the more view controller has开发者_如何学C not been set the "shouldAutorotateToInterfaceOrientation" return value.

where if possible can I set it to allow for device orientation.

or is this not supported?

Thanks in advance.


It should still just handle it. Are you absolutely sure all of your view controllers are returning YES for shouldAutorotateToInterfaceOrientation:? Are they all the top level VCs that are in your UITabBarController, or are any of them now wrapped in something else which isn't supporting rotation?

0

精彩评论

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