当用户在MFMailComposerViewController中并按下Home按钮时,我收到以下错误:
UIWindow endDisablingInterfaceAutorotationAnimated:调用on >而不匹配-beginDisablingInterfaceAutorotation。无视。
我环顾了论坛,其他一些人在不同的情况下也经历过这个错误,但是没有解决的办法。
我已经在应用程序中的所有视图控制器中设置了shouldAutorotate:
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation
{
return interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown ||
interfaceOrientation == UIInterfaceOrientationPortrait;
}发布于 2015-09-27 06:52:22
检查你是否有多余的电话拒绝键盘,UIActionSheet等。
我有同样的问题,并通过改变我的方式,取消键盘。我发现下面这篇文章是最有用的
https://stackoverflow.com/questions/12418627
复制相似问题