Unfortunately, after running into this very problem, through research and much experimentation, I've determined that it is pretty much impossible to keep the iOS status bar hidden in full screen mode. No matter what you do, when the full screen player controls are shown, so will the status bar (it will not respect the setStatusBar This is not the case with the embedded player controls, but the user can easily switch between embedded and full screen modes, so you can't really use this to maintain no status bar when the controls are shown.
Unfortunately, after running into this very problem, through research and much experimentation, I've determined that it is pretty much impossible to keep the iOS status bar hidden in full screen mode. No matter what you do, when the full screen player controls are shown, so will the status bar (it will not respect the setStatusBar This is not the case with the embedded player controls, but the user can easily switch between embedded and full screen modes, so you can't really use this to maintain no status bar when the controls are shown. Of course, at least the status bar goes away when the controls fade out...
1 for correct answer. Please file a bug report on this issue. – Till Apr 23 at 1:49.
Do not add the movie player's view to your main view; instead, present the movie player modally as follows (some steps omitted for brevity/clarity): moviePlayerViewController = MPMoviePlayerViewController alloc initWithContentURL:url; // Register for the playback finished notification. NSNotificationCenter defaultCenter addObserver:self selector:@selector(myMovieFinishedCallback:) name:MPMoviePlayerPlaybackDidFinishNotification object:moviePlayerViewController. MoviePlayer; //Present self presentMoviePlayerViewControllerAnimated:moviePlayerViewController; // Play the movie!Self.
MoviePlayerViewController.moviePlayer. MovieSourceType = MPMovieSourceTypeFile; self. MoviePlayerViewController.
MoviePlayer play; // When the movie is done, release the controller. -(void)myMovieFinishedCallback:(NSNotification*)aNotification { //NSLog(@"playback terminated"); NSNotificationCenter defaultCenter removeObserver:self name:MPMoviePlayerPlaybackDidFinishNotification object:moviePlayerViewController. MoviePlayer; moviePlayerViewController release, moviePlayerViewController = nil; }.
This is not an answer, I am having the same issue. There is one part I can update however.. The status bar only shows when the controls show. Clicking on the movie, hides the conrols & the status bar, clicking again, shows the controls, and the status bar comes back too.
I am also hiding the status bar programmatically just before I launch the movie. UIApplication sharedApplication setStatusBardden:YES withAnimation:NO; and here is how I am adding the movie: UIApplication sharedApplication keyWindow addSubview: movieView.
The status bar did hided, but showing up again with the play control. -(void)viewDidLoad:{ super viewDidLoad; MPMoviePlayerViewController *moviePlayerViewController = MPMoviePlayerViewController alloc initWithContentURL:videoURL; NSNotificationCenter defaultCenter addObserver:self selector:@selector(playbackStateChange:) name:MPMoviePlayerLoadStateDidChangeNotification object:moviePlayerViewController. MoviePlayer; } -(void)playbackStateChange:(NSNotification*)notification{ if(UIApplication sharedApplicationrespondsToSelector:@selector(setStatusBardden: withAnimation:)) UIApplication sharedApplication setStatusBardden:YES withAnimation:UIStatusBarAnimationNone; else UIApplication sharedApplication setStatusBar }.
Unfortunately, after running into this very problem, through research and much experimentation, I've determined that it is pretty much impossible to keep the iOS status bar hidden in full screen mode. No matter what you do, when the full screen player controls are shown, so will the status bar (it will not respect the setStatusBarHidden:YES ). This is not the case with the embedded player controls, but the user can easily switch between embedded and full screen modes, so you can't really use this to maintain no status bar when the controls are shown.
Do not add the movie player's view to your main view; instead, present the movie player modally as follows (some steps omitted for brevity/clarity).
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.