how can I autorotate MPMoviePlayerViewController according to the current mode, while the whole app is set to only portrait mode?
how can I autorotate MPMoviePlayerViewController according to the current mode, while the whole app
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If your base SDK is iOS 6, you can’t. The whole app (in the target summary pane = the info.plist) must be set to include all orientations that any part of your app will ever be willing to accept. You then filter out unwanted orientations from any parts of the app that should not be allowed to rotate to all of those orientations, e.g. with
supportedInterfaceOrientations.