开发者

Fix iPad status bar orientation as portrait

开发者 https://www.devze.com 2023-02-14 08:21 出处:网络
I have an iPad application with a simple tab bar. I need to fix the orientation as portrait. I do that by setting \"Portrait (bottom home button)\" in the \"Supported interface orientation\" field in

I have an iPad application with a simple tab bar. I need to fix the orientation as portrait. I do that by setting "Portrait (bottom home button)" in the "Supported interface orientation" field in the plist file.

The problem is that the status bar still m开发者_运维问答ove when rotating the iPad... how can I fix it ??

Thanks for reading.


Remove the default implementation of shouldAutorotateToInterfaceOrientation: from all your view controllers.

0

精彩评论

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