iPad Pro launch image and App icon
Asked Answered
S

5

18

iPad Pro requires 167x167 App icon and 2732 x 2048 (landscape) launch image. But where should I put them? Xcode 7.1 Asset Catalogs don't provide any place to add iPad Pro specific icons or images.

My launch image is size specific, so using storyboard for this isn't a good option.

Splice answered 30/9, 2015 at 21:8 Comment(0)
U
9

Apple commented on this issue: "Latest beta (7.2b3) added 83.5@2x app icon slot to asset catalogs, and Developer relations reported in a radar comment that they no longer support launch images and will not be adding the iPad pro launch image size to asset catalogs."

Taken from here.

Underestimate answered 25/11, 2015 at 9:26 Comment(6)
When does Xcode 7.2 or 7.3 with iPad PRO app icon for asset catalog launch ?App store is only giving me Xcode 7.1.1 update.Curlew
What do we call the icon for the iPad Pro? I understand it's 167 x 167 size, but what is the file to be called?Rolfston
I can confirm that Xcode 7.2 does indeed add a spot for the the ipad pro app icon. I was afraid of that regarding the launch images, but at least its good to know not to hold my breath, thanks. Honestly, #$%@* Apple for how little they care about backwards compatibility :/Yanina
Do you know what the naming convention of the new icon has to be @MohamedHafez?Rolfston
@Rolfston if you are using the asset catalog, then you can call it anything you like and just drag it into the available slot. If you aren't using the asset catalog, sorry I don't know what the naming convention would be, or even if there is one. I'd suggest updating to the asset catalog if that's the case, it only took 10 min back when i did it a couple years agoYanina
Thanks @MohamedHafez - I'm using the Asset Catalog but I didn't realise I could cal lit anything - I thought it still had to have specific names but thanks man! Will give that a go!Rolfston
M
7

Use Launch Screen storyboard.

You can also disable Launch Screen File and Launch Images Source from project General settings and use the old way - define all Launch Images in Info.plist.

Info.plist:

<key>UILaunchImages</key>
<array>
    <dict>
        <key>UILaunchImageMinimumOSVersion</key>
        <string>8.0</string>
        <key>UILaunchImageName</key>
        <string>DefaultPro-Landscape</string>
        <key>UILaunchImageOrientation</key>
        <string>Landscape</string>
        <key>UILaunchImageSize</key>
        <string>{1366, 1024}</string>
    </dict>
...
</array> 

More info about UILaunchImages in Info.plist in this post: How do I create launch images for iPhone 6 / 6 Plus Landscape Only Apps?

Measurement answered 17/11, 2015 at 9:3 Comment(1)
I think it should be {1024, 1366} regardless of the orientation. That works for me in the iPad Pro simulator, but {1366, 1024} doesn't.Expend
L
4

You should use Launch Screen Files for iPad Pro instead of Launch Images. First, from iPad Pro, iOS don't support Launch Images, so you can not find the right sizes for iPad Pro's launch images in Xcode 7.1. Second, if you don't use Launch Screen File, you app running on iPad Pro will be scaled, which is so called 'Display Zoom'.

Leigha answered 21/12, 2015 at 10:59 Comment(0)
K
1

It looks like you'll need to use the Launch Screen storyboard or xib file to support launch screens specific for iPad Pro.

Per Apple, you should be able to use both the launch image assets to support pre-iOS8, and the Launch Screen file for iOS8+. From the Apple App Distribution Guide :

"For iOS 7 deployment targets, you can supply both a launch screen file and launch images. In iOS 8, the launch screen file is used, and in iOS 7, the launch images are used."

also these docs state:

"If you also need to support earlier versions of iOS, you can continue to supply static launch images in addition to a launch file."

However, in my case even though I have a LaunchScreen.storyboard file, it isn't getting used when I have launch images in an asset catalog. i.e.: I always see the asset catalog launch images instead of the launch screen. I verified the Launch Screen file is set in the info.plist and that it has the "Use as Launch Screen" flag set. I'm also using size classes and auto layout.

Knossos answered 22/10, 2015 at 23:6 Comment(2)
I figured out why my Launch Screen file wasn't getting used. I had to set its view controller flag "Is Initial View Controller".Knossos
Yes, but since my launch image is size specific, Launch Screen storyboard isn't a good option.Splice
L
0

If you don't find the "wells" where to put the icons in asset catalogue, perhaps you changed your App settings from iPhone to iPad at a later point and then the iPad "wells" are not visible. You can turn them on by doing this:

The set will only contain image wells for icons that are relevant depending upon your project's configuration at the time the asset catalog was created. If an image well is missing, expand the settings inspector and check the appropriate boxes under the App Icon pane depending upon your project's deployment target and supported devices.

Luby answered 11/12, 2016 at 10:45 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.