Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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 Variables

allowHTTPDownloadShould insecure HTTP downloads be allowed?
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.
forceHardShadowsOnMetalShould hard shadows be enforced when running on (mobile) Metal.
iOSManualProvisioningProfileIDA provisioning profile Universally Unique Identifier (UUID) that Xcode will use to build your iOS app in Manual Signing mode.
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.
useOnDemandResourcesIndicates whether application will use On Demand Resources (ODR) API.