25

ユーザーがホームボタンMFMailComposerViewControllerを押すと、次のエラーが表示されます。

[UIWindow endDisablingInterfaceAutorotationAnimated:] -beginDisablingInterfaceAutorotation を一致させずに > で呼び出されました。無視。

私はフォーラムを見回しましたが、他の何人かの人々がさまざまな状況でこのエラーを経験しましたが、解決策はありません.

shouldAutorotateアプリのすべてのView Controllerでこれに設定しました:

- (BOOL)shouldAutorotateToInterfaceOrientation:
                                  (UIInterfaceOrientation)interfaceOrientation
{
    return interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown ||
           interfaceOrientation == UIInterfaceOrientationPortrait;
}
4

1 に答える 1

3

キーボード、UIActionSheet などを閉じるための冗長な呼び出しがあるかどうかを確認します。

私は同じ問題を抱えており、キーボードを閉じる方法を変更することで解決しました。この以下の投稿が最も役立つことがわかりました

不明なエラー [UIWindow endDisablingInterfaceAutorotation]

于 2015-09-27T06:52:22.757 に答える