Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix common status bar disappering bug for status bar based appearance #139

Closed
wants to merge 1 commit into from
Closed

Conversation

m1entus
Copy link

@m1entus m1entus commented Apr 29, 2015

No description provided.

@0xced
Copy link
Owner

0xced commented Apr 30, 2015

I’m curious to know what this common status bar disappearing bug is. Do you have some sample code that demonstrates the problem?

The MPMoviePlayerViewController class (XCDYouTubeVideoPlayerViewController’s superclass) purposely overrides the prefersStatusBarHidden to always return YES, so I wonder why you need to revert that behavior.

@m1entus
Copy link
Author

m1entus commented Apr 30, 2015

This could be because i have UITabBarController + UINavigationController, but you see that when you presenting MPMoviePlayerController, the status bar is always visible even on full screen. So prefersStatusBarHidden should bo set to NO anyway... I am using "View controller-based status bar appearance" to NO, I have problem similar to this:
chrisjp/CJPAdController#14
http://stackoverflow.com/questions/22196565/mpmovieplayerviewcontroller-hides-statusbar-and-destroys-frame-after-watching,
http://stackoverflow.com/questions/7176211/disappearing-status-bar-at-the-top-after-mpmovieplayercontroller-is-closed,
http://stackoverflow.com/questions/26167038/mpmovieplayerviewcontroller-status-bar-issue-ios-8-specific

@0xced
Copy link
Owner

0xced commented Apr 30, 2015

It would be really nice if you could provide a sample project with a clear description of the problem and how to reproduce it. It will be much more efficient. I’d prefer not to have to go through all these Stack Overflow questions and try to build a project that exhibit a bug I have not yet fully understood.

@m1entus m1entus closed this May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants