Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1043203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:37:51+00:00 2026-05-16T15:37:51+00:00

My iPad app displays a movie full screen using the convenient MPMoviePlayerViewController class. I

  • 0

My iPad app displays a movie full screen using the convenient MPMoviePlayerViewController class. I present it like this:

 [self.hostController presentMoviePlayerViewControllerAnimated:playerViewController];

And later, when notified that playing is done, I dismiss it like this:

 [self.hostController dismissMoviePlayerViewControllerAnimated];

It works fine, except when the user rotates the iPad during movie playback:

1- The iPad is in vertical orientation. My view is vertical.
2- The user starts the movie in vertical orientation. The player is vertical.
3- The user rotates the iPad to the horizontal orientation.
4- The player switches to its horizontal orientation. so far so good.
5- The movie stops, the player is dismissed, my reappears, the iPad is still horizontal, but my view has stayed in the vertical orientation is was in step 1. Now it looks sideways.

Of course, if the user then rotates the iPad, it’s back to normal. My view then rotates normally as the iPad rotates.

Did anyone ever encounter that? An easy fix?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:37:51+00:00Added an answer on May 16, 2026 at 3:37 pm

    I’ve encountered this numerous times and it appears to be an Apple bug (and have reported it as such).

    The only way (I’ve found) around this is to listen to UIDeviceOrientationDidChangeNotification and UIApplicationDidChangeStatusBarOrientationNotification notifications. Use the relative timestamp on these notifications; if they both occur within a second of each other, you can be sure that the status bar change is a result of the user switching orientations and not the media SDK changing the status bar orientation. Then, when the movie is finished, you can tell your view controller that it should rotate to landscape.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my iPad app I have two textfields. One displays the normal, default textfield
I'm building an iPad app, and would like to use a tiled display with
I am creating an iPad app using XCode 4 and Storyboards. I have a
Simple iPad app. App loads and displays a UITableView controlled by a subclass of
I have a iPhone/iPad app (universal binary) with a regular UIWebView that displays webpages
For my iPad app, I'm using a UIViewController subclass called SidebarViewController to display some
I've created an iPad app which contains a slideshow and when this slideshow is
I'm currently developping an iPad app which is using OpenGL to draw some very
I'm writing a web app for the iPad using HTML5 and SenchaTouch. The app
In my iPad app, there is a UIWebview that displays text content. When I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.