开发者

Default.png for ipad and iphone [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

splash screen for Universal appl开发者_运维问答ication for ipad and iphone

How to keep Default.png with two sizes one for ipad and another for iphone?


You need to give the images the right names, i.e. Default-Landscape.png etc. for iPad and add the supported orientations to your Info.plist file.

Please refer to http://developer.apple.com/library/ios/#qa/qa2010/qa1588.html


You can use these files.

  • Default~iphone.png
  • Default@2x~iphone.png
  • Default~ipad.png

iOS Application Programming Guide - Build-Time Configuration Details

Providing Device-Specific Launch Images
~ipad. The launch image should be loaded on iPad devices only.
~iphone. The launch image should be loaded on iPhone or iPod touch devices only.


Keep the iPad image name as "Default-Portrait.png" (768x1024)

And iPhone image name as "Default.png" (320x480).

Hope it will be helpful to you.

Let me know in case of any difficulty.

Cheers.


Found something that could be useful

In info.plist:

<key>UILaunchImageFile</key>
<string>Default</string>
<key>UILaunchImageFile~ipad</key>
<string>Default_iPad</string>

Then you need 2 files: Default.png (640x960 landscape) and Default_iPad.png (768x1024 landscape).

For details check this link

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜