You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Woon Tien Jing (JIRA)" <ji...@apache.org> on 2015/10/23 04:13:27 UTC

[jira] [Created] (CB-9848) UILaunchImages array is invalid, causing iOS 9 devices to display at 320x480px scaled sizes

Woon Tien Jing created CB-9848:
----------------------------------

             Summary: UILaunchImages array is invalid, causing iOS 9 devices to display at 320x480px scaled sizes
                 Key: CB-9848
                 URL: https://issues.apache.org/jira/browse/CB-9848
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.7.0
         Environment: Mac OS X El Capitan, Xcode 7, iOS 9 simulator (and devices)
            Reporter: Woon Tien Jing


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>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org