I am having universal app. And i want to to display splash screen with different resolutions for iphone and ipad. How can i set it ?
From the reference documents
To demonstrate the naming conventions, suppose your iOS application's Info.plist file included the UILaunchImageFile key with the value MyLaunchImage. The standard resolution version of the launch image would be named MyLaunchImage.png and would be in a portrait orientation (320 x 480). The high-resolution version of the same launch image would be named MyLaunchImage@2x.png. If you did not specify a custom launch image name, these files would need to be named Default.png and Default@2x.png, respectively.
纵向的默认图像必须命名为“ Default-Portrait.png”,并且尺寸为768×1024。
You can append the device modifier at the end of the file name. IE the iPad splash screens will end with ~ipad.png
Or, you can change the Info.plist setting using these keys:
<key>UILaunchImageFile</key>
<string>Default</string>
<key>UILaunchImageFile~ipad</key>
<string>Default_iPad</string>
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.