Fix iPad status bar orientation as portrait
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.
精彩评论