<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKSavedGame/deviceName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKSavedGame(py)deviceName"
  },
  "title" : "deviceName"
}
-->

# deviceName

The name of the device that the player uses to save the game.

```
var deviceName: String? { get }
```

## Discussion

In iOS, the user sets the device name by choosing Settings > General > About > Name. To access this device name, your app needs to meet certain criteria and set the <doc://com.apple.documentation/documentation/BundleResources/Entitlements/com.apple.developer.device-information.user-assigned-device-name> entitlement. Otherwise, the default value for this property is the generic device name.

> Note:
> In iOS 15 and earlier, the default value for this property is the user-assigned device name in Settings.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)