You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kerri Shotts (JIRA)" <ji...@apache.org> on 2016/06/05 21:02:48 UTC
[jira] [Commented] (CB-9762) App icon and Launch image for iPad Pro
[ https://issues.apache.org/jira/browse/CB-9762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316014#comment-15316014 ]
Kerri Shotts commented on CB-9762:
----------------------------------
So (since I brought it up on the last hangout!), I created a PoC plugin that generates a launch storyboard for iPad Pro support. I've uploaded it to [https://github.com/kerrishotts/cordova-plugin-ios-launch-screen]. It's very much a work in progress -- I'm sure there are a lot of edge cases I haven't considered, and the code isn't beautiful by any stretch of the imagination either. But so far, it seems to be a promising start.
That said, I'm not entirely sure about the direction I'm going, though -- the launch storyboard has to apply to all devices, orientations, and viewport sizes, so it's conceptually different from the device-specific and orientation-specific launch images Cordova already supports. But I'm having a hard time coming up with a way that works with launch storyboards and _is_ device specific, since the whole point of launch storyboards is to be more generic and to use auto layout. As such, the image I'm using is actually _square_, and the plugin currently just scales it up using aspect fill, which means image resizing and potential difficulty with the cropping that occurs with all possible viewports.
I suppose another option is to just provide support for moving a launch storyboard around, and leave it up to the dev to create the storyboard itself. But that requires dropping into an IDE (Either Xcode, Xamarin, etc.), which feels a bit antithetical to the CLI world.
Thoughts, ideas, comments?
> App icon and Launch image for iPad Pro
> --------------------------------------
>
> Key: CB-9762
> URL: https://issues.apache.org/jira/browse/CB-9762
> Project: Apache Cordova
> Issue Type: Task
> Components: iOS
> Affects Versions: 4.0.0
> Reporter: Manuel Martiarena
> Labels: cordova-ios-4.1.1
> Attachments: Default-Landscape@2x~ipad-pro.png, Default-Portrait@2x~ipad-pro.png
>
>
> Provide app icon image and launch image for iPad Pro
> iPad Pro (@2x) App icon required 167x167
> iPad Pro (@2x) Launch image required 2048 x 2732 (portrait)
> 2732 x 2048 (landscape)
> https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html
--
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