【问题标题】:issue in adding splash screen in xamarin ios在 xamarin ios 中添加启动画面的问题
【发布时间】:2014-04-01 07:28:08
【问题描述】:

我正在 MAC OS X 平台上创建 Xamarin iOS 应用程序。我已经使用 Xcode 成功创建了一个登录页面。但现在我想要登录页面之前的闪屏。我的 Xcode 已与 Xamarin Studio 正确同步。我在我的项目中添加了一个分辨率为 120x120 的屏幕,并添加了一个启动画面作为启动图像。但它没有选择图像,没有任何反应。 但现在作为测试,我在 Xcode 中添加了一个新项目,并添加了与启动图像相同的图像,并且成功添加。请提出应该是什么问题,更重要的是解决方案是什么。如何在我的 Xamarin iOS 应用中添加启动画面?

【问题讨论】:

    标签: ios xamarin.ios splash-screen


    【解决方案1】:

    您只需要遵循命名和大小约定

    IPHONE SPLASH
    Default.png - 320 x 480
    Default@2x.png - 640 x 960 
    Default-568h@2x.png - 640 x 1096
    
    IPAD SPLASH
    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
    iPad-Retina–Portrait.png — 1536w x 2008h
    iPad-Retina–Landscape.png — 2048w x 1496h
    

    *—如果您没有指定 Default-PortraitUpsideDown.png 文件,则此文件优先。

    ** - 如果您没有指定 Default-LandscapeLeft.png 或 Default-LandscapeRight.png 图像文件,则此文件优先。

    此链接可能对您也有帮助:App-Related Resources

    【讨论】:

    • 您能告诉我...如何在 Xamarin.mac 中添加启动画面吗?谢谢:)
    猜你喜欢
    • 2020-08-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-05-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多