# Device

> Interface into iOS specific functionality.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.iOS](/engine/6000.6/script-reference/unityengine/ios.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public sealed class Device
```

## Static Properties

| Property                                                                                                           | Description                                                                                                            |
| ------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------- |
| [advertisingIdentifier](/engine/6000.6/script-reference/unityengine/ios/device/advertisingidentifier.md)           | The device advertising ID (IDFA) for ad attribution and analytics.                                                     |
| [advertisingTrackingEnabled](/engine/6000.6/script-reference/unityengine/ios/device/advertisingtrackingenabled.md) | Is advertising tracking enabled.                                                                                       |
| [deferSystemGesturesMode](/engine/6000.6/script-reference/unityengine/ios/device/defersystemgesturesmode.md)       | Defer system gestures until the second swipe on specific edges.                                                        |
| [generation](/engine/6000.6/script-reference/unityengine/ios/device/generation.md)                                 | The generation of the device. (Read Only)                                                                              |
| [hideHomeButton](/engine/6000.6/script-reference/unityengine/ios/device/hidehomebutton.md)                         | Specifies whether the home button should be hidden in the iOS build of this application.                               |
| [iosAppOnMac](/engine/6000.6/script-reference/unityengine/ios/device/iosapponmac.md)                               | Indicates whether the process is an iOS app running on a Mac.                                                          |
| [lowPowerModeEnabled](/engine/6000.6/script-reference/unityengine/ios/device/lowpowermodeenabled.md)               | Indicates whether Low Power Mode is enabled on the device.                                                             |
| [runsOnSimulator](/engine/6000.6/script-reference/unityengine/ios/device/runsonsimulator.md)                       | Returns true if the process is an iOS app running on a Simulator.                                                      |
| [systemVersion](/engine/6000.6/script-reference/unityengine/ios/device/systemversion.md)                           | The version of the operating system currently running on the device.                                                   |
| [vendorIdentifier](/engine/6000.6/script-reference/unityengine/ios/device/vendoridentifier.md)                     | Vendor ID.                                                                                                             |
| [wantsSoftwareDimming](/engine/6000.6/script-reference/unityengine/ios/device/wantssoftwaredimming.md)             | Indicates whether the screen may be dimmed lower than the hardware is normally capable of by emulating it in software. |

## Static Methods

| Method                                                                                             | Description                                                                                                                                                                                                                                            |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [RequestStoreReview](/engine/6000.6/script-reference/unityengine/ios/device/requeststorereview.md) | Request App Store rating and review from the user.                                                                                                                                                                                                     |
| [ResetNoBackupFlag](/engine/6000.6/script-reference/unityengine/ios/device/resetnobackupflag.md)   | Set file flag to be included in iCloud/iTunes backup.                                                                                                                                                                                                  |
| [SetNoBackupFlag](/engine/6000.6/script-reference/unityengine/ios/device/setnobackupflag.md)       | Set file flag to be excluded from iCloud/iTunes backup. This uses [NSURLIsExcludedFromBackupKey](https://developer.apple.com/documentation/foundation/nsurlisexcludedfrombackupkey). Note that you should set this property each time you save a file. |
