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

Display app correctly with iOS status bar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1.0
    • 2.2.0
    • cordova-ios
    • None
    • iPad3, iOS 5.1.1, Cordova 2.1.0

    Description

      Hello,
      because of rejecting our app by Apple because it's not runnable in iOS 6 (CB-1219) we would like to upgrade from 2.0.0 to 2.1.0.
      I've done this as the upgrade guide told. The app runs fine, but now we have the following problem:
      The app does not declare something like "[application setStatusBarHidden:YES animated:NO];" in the appDelegate, and this is correct, because we want the iOS status bar to be displayed. The status bar is displayed, that's correct. But the app is displayed like we would have applied this option mentioned: The status bar hides the top of the app page, so the first several pixels in height are not displayed.
      In our index.html we declare
      <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densitydpi=device-dpi" />
      This works fine in version 2.0.0, but not in 2.1.0.
      Summary: Is this a bug in 2.1.0 that the app is displayed like status-bar-hidden, even if the status bar is not hidden? If it is not a bug, how can I get the behavior of 2.0.0, that the iOS status bar is displayed an then the app page starts?
      Thanks for your reply.

      Greetings,
      Klaus.

      Attachments

        1. Screenshot.PNG
          189 kB
          Klaus Schmidt

        Activity

          People

            shazron Shazron Abdullah
            disy Klaus Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: