iPhone/iPad :How do i set different splash screen in my universal app?
I am having universal app. And i want to to display splash screen with different开发者_如何学C 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.
The default image for the portrait orientation has to be named “Default-Portrait.png” and needs the dimensions 768×1024.
You can append the device modifier at the end of the file name. I.E. 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>
精彩评论