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 7739053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:25:27+00:00 2026-06-01T08:25:27+00:00

I am streaming a movie on the iPad using MPMoviePlayerController . When the user

  • 0

I am streaming a movie on the iPad using MPMoviePlayerController.

When the user rotates the device to landscape, I animate it to fullscreen.

If the user then taps ‘exit fullscreen‘ or ‘done’, the movie animates back to its small frame (native behavior), BUT– the top bar (navigation bar) is gone. Also, the visible views have moved upwards, behind and beyond the status bar.

Note that I haven’t touched the top bar whatsoever. I have not manually hidden it.

I have tried regaining the navigation bar by sending setNavigationBarHidden:animated to the current viewcontroller’s navigation controller, as well as to the tabbarcontroller’s navigationcontroller. I put this in response to the MPMoviePlayerDidExitFullscreenNotification (it fires). No effect. If we rotate back to portrait, however, it’s back instantly.

My questions are:

  • Why does the top bar not return when full screen is exited by the user?
  • How can we get the top bar back?

Best regards,
Timo

P.S. I will proceed to experiment with the weirdnesses described in this SO post. Might be related.

  • 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-06-01T08:25:29+00:00Added an answer on June 1, 2026 at 8:25 am

    I just found a better way to to this (without the glitch when back from the view controller).
    Hiding the navigation bar when entering fullscreen and displaying it again on exit :

    // In the view did load for example :
    [[NSNotificationCenter defaultCenter] addObserver:self
         selector:@selector(moviePlayerWillExitFullScreen:) 
        name:MPMoviePlayerWillExitFullscreenNotification 
        object:nil];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(moviePlayerDidEnterFullScreen:) name:MPMoviePlayerDidEnterFullscreenNotification object:nil];
    
    // And in the ViewController put these methods :
    - (void) moviePlayerWillExitFullScreen:(id)sender {
        [self.navigationController setNavigationBarHidden:NO animated:NO];
    }
    
    - (void)moviePlayerDidEnterFullScreen:(id)sender {
        [self.navigationController setNavigationBarHidden:YES animated:YES];
    }
    

    This will just be a bit more smooth in the animations.

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

Sidebar

Related Questions

I'm trying to play an HTTP live streaming video using a MPMoviePlayerController object, inside
Problem: I'm streaming my video from a php file with stream_get_contents(); using Flowplayer as
I want to develop a Movie information Database and Video Streaming website. I am
I am trying to create video streaming for my ipad app. I've gone through
The Twitter Streaming API can be used to detect a phrase using the following
Writing a Java application using the Play framework and need some HTTP-Live streaming. I
I am developing an iOS app in which I am streaming .mp3 files using
I am trying to create files for http live streaming. I am using Apple's
Live streaming video in html 5 - what is required from server to stream
I own a video streaming website and currently I just have a simple hit

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.