My iPad application is landscape only and supports the Game Center framework.
After the following sequence:
- the authentication Game Center popup is shown,
- the user decides to create a profile
- the detailed account-creation popup managed by the GameKit framework is displayed
- the user cancels the operation
my app has messed up views: the views have rotated 90° degrees on the left.
At this point, rotating the app won't help, and I need to relaunch my app to get the thing fixed.
Of course, all my low-level view controllers involved (except the root navigation controller which is a basic UINavigationController) are implementing the following method:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return UIInterfaceOrientationIsLandscape(interfaceOrientation);
}
Any idea why I get such a messy behavior?