SetLaunchScreenImage(Texture2D, iOSLaunchScreenImageType)
Sets the image to display on screen when the game launches for the specified iOS device.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static void SetLaunchScreenImage(Texture2D image, iOSLaunchScreenImageType type)
Parameters
Remarks
This function adds the specified image to the launch screen's Interface Builder (.xib) file in the generated iOS Xcode project. The image is only used by iOSLaunchScreenType.ImageAndBackgroundConstant and iOSLaunchScreenType.ImageAndBackgroundRelative. Use the PlayerSettings.iOS.SetiPhoneLaunchScreenType or PlayerSettings.iOS.SetiPadLaunchScreenType functions to set the launch screen type for your target device.