小编Mad*_*ddy的帖子

UIWindow endDisablingInterfaceAutorotationAnimated:错误

当用户进入MFMailComposerViewController并按下主页按钮时,我收到以下错误:

[UIWindow endDisablingInterfaceAutorotationAnimated:]调用>而不匹配-beginDisablingInterfaceAutorotation.忽略.

我浏览了论坛,其他一些人在不同情况下遇到过这个错误,但是没有解决方案.

我已shouldAutorotate在应用程序中的所有View控制器中设置为:

- (BOOL)shouldAutorotateToInterfaceOrientation:
                                  (UIInterfaceOrientation)interfaceOrientation
{
    return interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown ||
           interfaceOrientation == UIInterfaceOrientationPortrait;
}
Run Code Online (Sandbox Code Playgroud)

objective-c orientation uiwindow ios

24
推荐指数
1
解决办法
6009
查看次数

标签 统计

ios ×1

objective-c ×1

orientation ×1

uiwindow ×1