How to Add iPhoneX Launch Image How to Add iPhoneX Launch Image xcode xcode

How to Add iPhoneX Launch Image


If your used the LaunchImage.launchimage for Launch, the solution is (in Xcdoe 9.0):

  1. Select Assets.xcassets, right click on middle pane, select App Icons & launch Images -> New iOS Launch Image . Then move the old LaunchImage.launchimage images to the new one, and add the image size with 1125×2436 px for the iPhoneX.enter image description hereenter image description here

  2. Also, you can add the following json object to Contents.json file which on LaunchImage.launchimage folder in your old project。Once Xcode refreshes, just drop in a 1125×2436px image. If you need landscape, you can add another with the orientation.

	{      "extent" : "full-screen",      "idiom" : "iphone",      "subtype" : "2436h",      "minimum-system-version" : "11.0",      "orientation" : "portrait",      "scale" : "3x"    }