Setting splash images for portrait and landscape mode in iPad

怎甘沉沦 提交于 2019-12-06 11:58:27

问题


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 modes. But when I run the application, I am not able to see any splash screen.

What I am possibly missing?


回答1:


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



回答2:


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.



来源:https://stackoverflow.com/questions/6662230/setting-splash-images-for-portrait-and-landscape-mode-in-ipad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!