Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.4.1
-
None
-
Cordova version 5.4.1 (Using CLI, not platform tools)
StatusBar plugin version 2.0.0
Building app on OS X El Capitan
Device platform: iOS 9.1
TESTED IN SIMULATOR ONLY (iPhone 6 / iOS 9.1)
Not tested for any other device platformUsing the following configuration in config.xml:
<platform name="ios"> <allow-intent href="itms:*" /> <allow-intent href="itms-apps:*" /> <preference name="StatusBarOverlaysWebView" value="false" /> <preference name="StatusBarBackgroundColor" value="#000000" /> <preference name="StatusBarStyle" value="lightcontent" /> </platform>
Cordova version 5.4.1 (Using CLI, not platform tools) StatusBar plugin version 2.0.0 Building app on OS X El Capitan Device platform: iOS 9.1 TESTED IN SIMULATOR ONLY (iPhone 6 / iOS 9.1) Not tested for any other device platform Using the following configuration in config.xml: <platform name= "ios" > <allow-intent href= "itms:*" /> <allow-intent href= "itms-apps:*" /> <preference name= "StatusBarOverlaysWebView" value= "false" /> <preference name= "StatusBarBackgroundColor" value= "#000000" /> <preference name= "StatusBarStyle" value= "lightcontent" /> </platform>
Description
App uses Single Page Architecture. All HTML is loaded from a remote server into a div tag on the page. A header bar at the top of the page is fixed and is outside the div tag used for loading the remote HTML.
With StatusBarOverlaysWebView=false in config.xml, app starts correctly in simulator with the status bar above the page header bar.
Sequence of steps:
- Load HTML with a <video> tag for some mp4 video
- Start playback of video
- Simulate device rotation using Simulator->Hardware->Rotate Left
- Video automatically switches to fullscreen and fills the entire simulator screen
- Simulate rotation back to portrait mode using Simulator->Hardware->Rotate Right
- Click "Done" to exit native player
- NOW THE STATUS BAR COVERS THE WEBVIEW - WebView is now pushed all the way up and behind the status bar.
Problem has only been noticed when recovering from fullscreen video playback involving device rotation.
Attachments
Attachments
Issue Links
- relates to
-
CB-10884 Inappbrowser breaks UI while Screen orientation changes from landscape to portrait on iOS
- Closed
- links to