Supporting iPhone 6 and iPhone 6+ with different launch/splash screen image for iPad Portrait and Landscape orientations

后端 未结 2 1011
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 03:45

What I understood from the available documentation and my testing is that

  1. All existing Apps on iPhone 6 and 6 Plus run in compatibility mode, which means th

2条回答
  •  天命终不由人
    2020-11-29 04:12

    Asset catalogues currently work in landscape mode on iPhone on ios8. I had this reponse from apple support:

    "There is a bug involving launch images in asset catalogs and apps that launch in landscape on iPhone. Behind the scenes, the asset catalog compiler generates the same UILaunchImages key [1] in the final Info.plist that you would have added when you were specifying launch images manually. One of the sub-keys for each launch image specified under the UILaunchImages key is UILaunchImageOrientation which is always set to Portrait by the asset catalog compiler. This makes sense because apps on iPhone always launch in portrait orientation [2]. However, the iOS app launcher decides that since your UISupportedInterfaceOrientations only contains UIInterfaceOrientationLandscapeLeft and UIInterfaceOrientationLandscapeRight, it will only look for landscape launch images under the UILaunchImages key, of which it finds none.

    Since there is no way to force the assets catalog compiler to specify Landscape for the UILaunchImageOrientation sub-key of iPhone launch images, you should continue to specify your launch images by editing the information property list for your app as before."

提交回复
热议问题