Reputation: 5616
Is it possible to manually set a view controller's orientation (in this case back to its initial position) ?
Thank you.
Upvotes: 0
Views: 903
Reputation: 1729
UIApplication *application = [UIApplication sharedApplication];
[application setStatusBarOrientation:UIInterfaceOrientationPortrait
animated:YES];
Upvotes: 1