【问题标题】:Setting splash images for portrait and landscape mode in iPad在 iPad 中为纵向和横向模式设置启动图像
【发布时间】:2019-05-18 22:50:19
【问题描述】:

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

我可能遗漏了什么?

【问题讨论】:

    标签: iphone ipad splash-screen


    【解决方案1】:

    再次检查您的图像。从资源中删除图像并再次添加。确保从项目中清除所有目标删除构建文件夹,然后再次运行它。

    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】:

      如果您使用的是 XCode4(并且您最好 :p ),只需将这些图像拖到项目页面上的相应图像井中即可。如果它们不合适,它会警告您。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-12-29
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2019-10-19
        相关资源
        最近更新 更多