Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5431

Status Bar Plugin blanks view on call overlaysWebView(false) in landscape orientation

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.3.0
    • cordova-ios
    • None

    Description

      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):

          onDeviceReady: function() {
              StatusBar.overlaysWebView(false);
              app.receivedEvent('deviceready');
          },
      

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            sw Sepp Wijnands
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment