Fix iPad status bar orientation as portrait

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

The problem is that the status bar still moves when the iPad rotates ... how can I fix it ??

Thanks for reading.

+1
source share
1 answer

Remove the standard implementation shouldAutorotateToInterfaceOrientation:from all view controllers.

+1
source

All Articles