Version: 2022.3
LanguageEnglish
  • C#

iOS

class in UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual

Description

iOS specific player settings.

Static Properties

appInBackgroundBehaviorApplication behavior when entering background.
appleDeveloperTeamIDSet this property with your Apple Developer Team ID. You can find this on the Apple Developer website under Account > Membership . This sets the Team ID for the generated Xcode project, allowing developers to use the Build and Run functionality. An Apple Developer Team ID must be set here for automatic signing of your app.
appleEnableAutomaticSigningSet this property to true for Xcode to attempt to automatically sign your app based on your appleDeveloperTeamID.
applicationDisplayNameiOS application display name.
backgroundModesSupported background execution modes (when appInBackgroundBehavior is set to Custom).
buildNumberThe build number of the bundle
cameraUsageDescriptionDescribes the reason for access to the user's camera.
deferSystemGesturesModeDefer system gestures until the second swipe on specific edges.
disableDepthAndStencilBuffersDisable Depth and Stencil Buffers.
forceHardShadowsOnMetalShould hard shadows be enforced when running on (mobile) Metal.
hideHomeButtonSpecifies whether the home button should be hidden in the iOS build of this application.
iOSManualProvisioningProfileIDA provisioning profile Universally Unique Identifier (UUID) that Xcode will use to build your iOS app in Manual Signing mode.
iOSManualProvisioningProfileTypeA ProvisioningProfileType that will be set when building an iOS Xcode project.
iOSUrlSchemesAn array of URL Schemes that are supported by the app.
locationUsageDescriptionDescribes the reason for access to the user's location data.
microphoneUsageDescriptionDescribes the reason for access to the user's microphone.
prerenderedIconIcon is prerendered.
requiresFullScreenRequiresFullScreen maps to Apple's plist build setting UIRequiresFullScreen, which is used to opt out of being eligible to participate in Slide Over and Split View for iOS 9.0 multitasking.
requiresPersistentWiFiApplication requires persistent WiFi.
scriptCallOptimizationScript calling optimization.
sdkVersionActive iOS SDK version used for build.
showActivityIndicatorOnLoadingApplication should show ActivityIndicator when loading.
statusBarStyleStatus bar style.
targetDeviceTargeted device.
targetOSVersionStringDeployment minimal version of iOS.
tvOSManualProvisioningProfileIDA provisioning profile Universally Unique Identifier (UUID) that Xcode will use to build your tvOS app in Manual Signing mode.
tvOSManualProvisioningProfileTypeA ProvisioningProfileType that will be set when building a tvOS Xcode project.
useOnDemandResourcesIndicates whether application will use On Demand Resources (ODR) API.
VisionOSManualProvisioningProfileIDA provisioning profile Universally Unique Identifier (UUID) that Xcode will use to build your visionOS app in Manual Signing mode.
VisionOSManualProvisioningProfileTypeA ProvisioningProfileType that will be set when building an visionOS Xcode project.

Static Methods

SetiPadLaunchScreenTypeSets the mode which will be used to generate the app's launch screen Interface Builder (.xib) file for iPad.
SetiPhoneLaunchScreenTypeSets the mode which will be used to generate the app's launch screen Interface Builder (.xib) file for iPhone.
SetLaunchScreenImageSets the image to display on screen when the game launches for the specified iOS device.