Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ビューにMPMoviePlayerControllerを追加しました。そしてその正常に動作します。フルスクリーンでこれに切り替えてデバイスの向きを変更すると、向き変更イベントは発生しません。この問題を解決する方法を教えてください。
ありがとう
私はあなたがモーダルに提示していると思うMPMoviePlayerControllerので、チェックしてください -
MPMoviePlayerController
(void)shouldAutorotateToInterfaceOrientation:メインアプリコントローラーのメソッド。縦向きのためだけにTRUEを返すと、モーダルコントローラーはそれ自体を回転できないと思います。のすべてのインターフェイスの向きに対してTRUEを返すようにするrootViewControllerと、MPMoviePlayerControllerが回転し始めます。
(void)shouldAutorotateToInterfaceOrientation:
rootViewController