I'm receiving the following error when a user is in MFMailComposerViewController
and presses the Home button:
[UIWindow endDisablingInterfaceAutorotationAnimated:] called on > without matching -beginDisablingInterfaceAutorotation. Ignoring.
I have looked around the forums and some other people have experienced this error in different circumstances, but there is no solution.
I have set shouldAutorotate
to this in all the View Controllers in the app:
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation
{
return interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown ||
interfaceOrientation == UIInterfaceOrientationPortrait;
}