当用户进入MFMailComposerViewController并按下主页按钮时,我收到以下错误:
[UIWindow endDisablingInterfaceAutorotationAnimated:]调用>而不匹配-beginDisablingInterfaceAutorotation.忽略.
我浏览了论坛,其他一些人在不同情况下遇到过这个错误,但是没有解决方案.
我已shouldAutorotate在应用程序中的所有View控制器中设置为:
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation
{
return interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown ||
interfaceOrientation == UIInterfaceOrientationPortrait;
}
Run Code Online (Sandbox Code Playgroud)