【问题标题】:Worklight and iPhone 6 / 6 plusWorklight 和 iPhone 6 / 6 plus
【发布时间】:2014-10-01 16:55:29
【问题描述】:

我们正在从 worklight 5.0.6.2 迁移到 worklight 6.2(带有来自 fixcentral 的最新 ifix)

同时,我们想让我们的混合应用程序与 iphone 6 和 6 以及新的屏幕尺寸兼容。 据我了解,我们需要在 xcode 中为其添加新的初始屏幕大小和图标大小 https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.htmlSupporting iPhone 6 and iPhone 6+ with different launch/splash screen image for iPad Portrait and Landscape orientations

但由于 worklight 与资产目录尚不兼容,我不知道如何在不弄乱启动画面显示的情况下正确执行此操作。 有什么建议吗?

感谢您的帮助。

【问题讨论】:

    标签: ios ibm-mobilefirst splash-screen iphone-6 iphone-6-plus


    【解决方案1】:

    尺寸are as follows:

    • 对于 iPhone 6:

      • 750 x 1334 (@3x) 纵向
      • 横向 1334 x 750 (@3x)

    • 对于 iPhone 6 Plus:

      • 1242 x 2208 (@3x) 用于纵向
      • 横向 2208 x 1242 (@3x)

    将文件命名如下,将它们与 iphone\native\Resources 文件夹中的其余图像一起放置。

    • 对于 iPhone:

      • 默认@3x~iphone.png

    • 对于 iPad:

      • 默认-Landscape@3x~ipad.png
      • 默认人像@3x~ipad.png

    【讨论】:

    • 嗨,Idan,感谢您的快速回答,但这没有用。它只是继续使用旧图像(用于较低分辨率)然后我尝试了以下操作:conceptdev.blogspot.com/2014/09/… 现在它们被考虑但只有 1~2 秒,然后显示较低分辨率的旧图像放大也是1~2秒不是因为worklight SDK SplashImageViewController-Portrait.xib还没有适应更高的屏幕尺寸吗?
    • 我会尽快回复您。
    • @piflechien,我们发现了错误。要获得固定版本,您需要打开 PMR。
    • 您好伊丹,感谢您的回答。好的,我们将打开一个 PMR ;-)。干杯
    • @piflechien,我想你现在已经收到了 iFix。如果我的回答对您有帮助,请将其标记为已回答。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-03-25
    • 1970-01-01
    • 1970-01-01
    • 2014-11-03
    • 1970-01-01
    相关资源
    最近更新 更多