I have an app with a custom movie player in it. I am having a problem. If you hold the device in landscape mode when it starts the status bar is in correct spot. If you rotate to portrait, it moves to portrait and will stay there even if you go back to landscape. How can I fix it where it is only landscape since that is how the movie player is set up?
Here is the code I have for making the status bar start at landscape How do I keep it there
Here is the code I have for making the status bar start at landscape How do I keep it there
Code:
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];
Last edited: