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

后端 未结 2 1008
没有蜡笔的小新
没有蜡笔的小新 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:07

    You don´t have to use the launch screen file to make your App iPhone 6 / 6+ resolution compatible. Instead, you can select the LaunchImage asset as your Launch Images Source.

    It can be found at "App Icons and Launch Images" under your Targets:

    enter image description here

    If there is no LaunchImage asset just go to your Images.xcassets, make a secondary click (right click) and select "New Launch Image":

    enter image description here

    The result is something like that:

    enter image description here

    Now just drag and drop your images for the specific resolutions you want to support and set the created LaunchImage asset as your source.

    Hope it helps

    Cheers

提交回复
热议问题