[ https://issues.apache.org/jira/browse/CB-5431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825885#comment-13825885 ]
Shazron Abdullah edited comment on CB-5431 at 11/18/13 10:52 PM: ----------------------------------------------------------------- Bug in setting the frame in landscape mode: {code} CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 1024}} CB-5431[190:60b] StatusBar frame: {{748, 0}, {20, 1024}} CB-5431[174:60b] WebView Frame bounds set to: {{0, 1024}, {768, 0}} {code} was (Author: shazron): Bug in setting the frame in landscape mode: {code} 2013-11-18 14:47:34.755 CB-5431[174:60b] MainScreen bounds: {{0, 0}, {768, 1024}} 2013-11-18 14:47:34.757 CB-5431[174:60b] WebView Frame bounds set to: {{0, 1024}, {768, 0}} {code} > Status Bar Plugin blanks view on call overlaysWebView(false) in landscape > orientation > -------------------------------------------------------------------------------------- > > Key: CB-5431 > URL: https://issues.apache.org/jira/browse/CB-5431 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 3.1.0 > Reporter: Sepp Wijnands > > If you call StatusBar.overlaysWebView(false) in the deviceready() event and > the iPad Retina device is in Landscape mode, it blanks the screen and > places a 20px black bar vertically on the screen. > Code to reproduce problem (HelloCordova example project: www/js/index.js): > {code} > onDeviceReady: function() { > StatusBar.overlaysWebView(false); > app.receivedEvent('deviceready'); > }, > {code} > iOS simulator environment: iPad Retina iOS 7.0, Orientated in *landscape* > mode. > Screenshot: > https://www.dropbox.com/s/6o66wuf2f7gy9dx/iOS%20Simulator%20Screen%20shot%2018%20Nov%202013%2021.13.34.png > Example project demonstrating the problem (based on HelloCordova): > https://www.dropbox.com/s/gb9wbz6jber6ovc/BugStatusBarLandscape.zip -- This message was sent by Atlassian JIRA (v6.1#6144)