# SetLaunchScreenImage(Texture2D, iOSLaunchScreenImageType)

> Sets the image to display on screen when the game launches for the specified iOS device.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static void SetLaunchScreenImage(Texture2D image, iOSLaunchScreenImageType type)
```

### Parameters

**** (\[Texture2D]\(/engine/6000.0/script-reference/unityengine/texture2d)): **** (\[iOSLaunchScreenImageType]\(/engine/6000.0/script-reference/unityeditor/ioslaunchscreenimagetype)):&#x20;

### 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](/engine/6000.0/script-reference/unityeditor/ioslaunchscreentype/imageandbackgroundconstant.md) and [iOSLaunchScreenType.ImageAndBackgroundRelative](/engine/6000.0/script-reference/unityeditor/ioslaunchscreentype/imageandbackgroundrelative.md). Use the [PlayerSettings.iOS.SetiPhoneLaunchScreenType](/engine/6000.0/script-reference/unityeditor/playersettings/ios/setiphonelaunchscreentype.md) or [PlayerSettings.iOS.SetiPadLaunchScreenType](/engine/6000.0/script-reference/unityeditor/playersettings/ios/setipadlaunchscreentype.md) functions to set the launch screen type for your target device.
