首页 文章

在iPhone 5的横向模式下启动启动画面

提问于
浏览
5

我们的通用应用程序仅在横向模式下 . 我们需要为iPhone 4和iPhone 5添加一个闪屏 .

对于iPhone 5中的纵向,我们使用 Default-568h@2x.png . 如何在Landscape for iPhone 5中设置启动画面?

5 回答

  • 7

    根据 Apple's DocumentationProviding Launch Images for Different Orientations

    每个特定于方向的启动映像必须在其文件名中包含特殊修饰符字符串 . orientation-specific launch image 文件名的格式如下:

    <basename><orientation_modifier><scale_modifier><device_modifier>.png
    

    Eg :

    1)    Default-Portrait.png
    2)    Default-PortraitUpsideDown.png
    3)    Default-Landscape.png
    4)    Default-LandscapeLeft.png
    5)    Default-LandscapeRight.png
    

    Note : 这些修饰符仅适用于iPad应用中使用的启动图像 .

    所以你必须根据 OrientationiPhone 5 更改你的 Image .

    Two ways to do that :

    1)将Splash Image旋转到90度 . 2)反转尺寸(320 * 480 - > 480 * 320) .

  • -3

    要提供横向启动图像,您必须创建图像..并在外部图像编辑器中将其旋转90度

  • 2

    在横向模式下在启动画面上进行非常简单的设计 . 并像在肖像中一样制作闪屏 . 当用户看到屏幕处于横向状态时,用户自动制作手机横向:-)

  • 0

    Apple doc起,仅支持iPad的风景启动屏幕 .

    对于iPhone和iPod Touch,您需要创建一个纵向启动屏幕,该屏幕可以是您的90°横向风景启动屏幕 . 我会应用顺时针旋转而不是逆时针旋转(即,在桌面上,您需要在右侧弯曲头部以正确方向查看图像) .

  • 0

    在pch文件中使用这些宏

    #if IS_iPAD
    LaunchImage=iPad.png
    else
    LaunchImage=iPhone.png
    

相关问题