简体   繁体   中英

Launch screen custom image for iPad

I need to present different image on the launch screen for iPad. Our designer provided only 2 images:

  • one for iPhone portrait
  • one for iPad landscape

So I cannot use Launch images and assets catalog

Instead of that I'm trying to use LaunchScreen.xib, I'm trying to name them like it is described here https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/LoadingResources/Introduction/Introduction.html

with ~ipad and ~iphone postfixes

But I didn't manage to figure out how I should place them in the assets catalog

在此处输入图片说明

在此处输入图片说明

How can I present different images for iPad and iPhone

在此处输入图片说明在此处输入图片说明

I found out that it could be done with right click on the detail asset view in xCode

Try to open assets catalog in xcode and choose LaunchImage. Next right click and select New Launch Image.

After that you will have new asset. image here. Put you images there.

Next step is delete old LaunchImage asset and rename new.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM