Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20203] Add support for iPad Pro launch screens

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusClosed
ResolutionInvalid
Resolution Date2016-02-11T08:26:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2016-01-06T18:50:32.000+0000
Updated2017-03-24T17:56:50.000+0000

Description

Apple has updated their iOS Human Interface Guidelines page (https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1) with iPad Pro specific launch screens sizes. 2048 x 2732 (portrait) 2732 x 2048 (landscape) To support this, we need to add the images to the lookup table: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L4909-L4930. We need to determine the name of the image. It should be Default-Landscape-<SOMETHING>.png and Default-Portrait-<SOMETHING>.png. What is something? No idea. Part of the problem is as of Xcode 7.2, this new iPad Pro launch screen is not listed in the Launch Image asset catalog. This means we don't know the dimensions and "scale".

Attachments

FileDateSize
Simulator Screen Shot 11 Feb 2016 09.29.06.png2016-02-11T08:30:52.000+000023192

Comments

  1. Fokke Zandbergen 2016-02-11

    This Stack Overflow answer might help: http://stackoverflow.com/a/33752847/4626813 Although Apple DevRel is said to have confirmed it won't be supported: https://openradar.appspot.com/22915712#ag9zfm9wZW5yYWRhci1ocmRyFAsSB0NvbW1lbnQYgICA0Lbn4goM Still, we should try if it works.
  2. Fokke Zandbergen 2016-02-11

    This doesn't:
           {
             "extent": "full-screen",
             "idiom": "ipad",
             "filename": "DefaultPro-Landscape@2x.png",
             "minimum-system-version": "8.0",
             "orientation": "landscape",
             "scale": "2x"
           },
           {
             "extent": "full-screen",
             "idiom": "ipad",
             "filename": "DefaultPro-Portrait@2x.png",
             "minimum-system-version": "8.0",
             "orientation": "portrait",
             "scale": "2x"
           }
       
  3. Fokke Zandbergen 2016-02-11

    I say we resolve this as Invalid in favour of TIMOB-19694
  4. Chris Barber 2016-02-11

    Apple is not going to support a launch screen for the iPad Pro in favor of a storyboard-based launch screen. For now, you can continue to use the existing iPad @2x images, but they will be stretched to the screen size. Future versions of Titanium will make it easier to add custom launch screen storyboards where you can make your own storyboard and place a native resolution image. This isn't a great solution since the rules that iOS follows when selecting a @1x, @2x, or @3x image from an asset catalog image set appear to be based on the density, not the screen resolution. In other words, the @2x image will be used on multiple iOS devices which have multiple resolutions and you won't be able to get a pixel perfect image for every iOS device; there will be some up/downscaling.
  5. Fokke Zandbergen 2016-02-11

    [~cbarber] when you use iPad@2x for iPad Pro it won't just upscale the launch image, but the complete app: !Simulator Screen Shot 11 Feb 2016 09.29.06.png|thumbnail!
  6. Lee Morris 2017-03-24

    Closing ticket as invalid with reference to the above comments.

JSON Source