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

UILaunchImages array is invalid, causing iOS 9 devices to display at 320x480px scaled sizes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.7.0
    • None
    • cordova-ios
    • Mac OS X El Capitan, Xcode 7, iOS 9 simulator (and devices)

    Description

      UILaunchImages is checked more thoroughly on iOS9 so Cordova-iOS 3.7.0's invalid format is rejected and the app falls back to 320x480 scaled mode. Required fix is given below.

      In Info.plist, each item in the UILaunchImages array has the form:

      <dict>
      <key>UILaunchImageOrientation</key>
      <string>Portrait</string>
      <key>UILaunchImageName</key>
      <string>Default-Portrait~ipad</string>
      <key>UILaunchImageSize</key>
      <string>

      {768, 1024}</string>
      </dict>

      According to Apple's documentation, each item must have a `UILaunchImageMinimumOSVersion` (https://developer.apple.com/library/prerelease/ios/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW28)::

      <dict>
      <key>UILaunchImageMinimumOSVersion</key>
      <string>7.0</string>
      <key>UILaunchImageOrientation</key>
      <string>Portrait</string>
      <key>UILaunchImageName</key>
      <string>Default-Portrait~ipad</string>
      <key>UILaunchImageSize</key>
      <string>{768, 1024}

      </string>
      </dict>

      Attachments

        Activity

          People

            Unassigned Unassigned
            tjwoon TJ Woon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: