Setting splash images for portrait and landscape m

2020-07-26 06:40发布

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?

2条回答
Evening l夕情丶
2楼-- · 2020-07-26 07:25

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.

查看更多
够拽才男人
3楼-- · 2020-07-26 07:36

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
查看更多
登录 后发表回答