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

Script language

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

Device

class in UnityEngine.iOS

/

Implemented in:UnityEngine.CoreModule

Description

Interface into iOS specific functionality.

Static Properties

advertisingIdentifierAdvertising ID.
advertisingTrackingEnabledIs advertising tracking enabled.
deferSystemGesturesModeDefer system gestures until the second swipe on specific edges.
generationThe generation of the device. (Read Only)
hideHomeButtonSpecifies whether the home button should be hidden in the iOS build of this application.
systemVersioniOS version.
vendorIdentifierVendor ID.

Static Methods

RequestStoreReviewRequest App Store rating and review from the user.
ResetNoBackupFlagReset "no backup" file flag: file will be synced with iCloud/iTunes backup and can be deleted by OS in low storage situations.
SetNoBackupFlagSet file flag to be excluded from iCloud/iTunes backup.

Did you find this page useful? Please give it a rating: