Search code examples
iosobjective-cuiwebviewhtml5-video

iOS hotspot messes with fullscreen video player status bar


When I open video from UIWebView while Personal Hotspot(blue status bar) is enabled, video player does not go fullscreen, it leaves 20px above empty and makes it transparent.

Is there a way to fix it? I'm not even sure if I can detect the presented video VC from UIWebView.


Solution

  • Try this

    [[UIApplication sharedApplication] setStatusBarHidden:YES];