开发者

Setting splash images for portrait and landscape mode in iPad

开发者 https://www.devze.com 2023-03-19 09:44 出处:网络
I have two images Default-Portrait.png and Default-Landscape.png in my resources folder. I want to set them as splash images for my application in the respective orientation mo开发者_如何学运维des. Bu

I have two images Default-Portrait.png and Default-Landscape.png in my resources folder. I want to set them as splash images for my application in the respective orientation mo开发者_如何学运维des. But when I run the application, I am not able to see any splash screen.

What I am possibly missing?


Just check your images again. Remove images from resources and add it again. Make sure clean all target remove build folder from your project, and Run it again it will work.

iPad Launch Image Orientations Filename | Dimensions

Default-Portrait.png                    | 768w x 1004h

Default-PortraitUpsideDown.png          | 768w x 1004h

Default-Landscape.png                   | 1024w x 748h

Default-LandscapeLeft.png               | 1024w x 748h

Default-LandscapeRight.png              | 1024w x 748h

Default.png                             | Not recommended


If you're using XCode4 (and you'd better :p ), just drag these images to the appropriate image wells on your project's page. If they don't fit, it will warn you.

0

精彩评论

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