在iPad中为纵向和横向模式设置初始图像 [英] Setting splash images for portrait and landscape mode in iPad

查看:83
本文介绍了在iPad中为纵向和横向模式设置初始图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的资源文件夹中有两个图像Default-Portrait.pngDefault-Landscape.png.我想在各自的方向模式下将它们设置为我的应用程序的初始图像.但是,当我运行该应用程序时,我看不到任何初始屏幕.

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.

我可能会缺少什么?

推荐答案

只需再次检查图像即可.从资源中删除图像,然后再次添加.确保清除所有目标,然后从项目中删除构建文件夹,然后再次运行它将起作用.

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

这篇关于在iPad中为纵向和横向模式设置初始图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆