---
title: deviceName
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gksavedgame/devicename
---

# deviceName

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

## Declaration

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

## Discussion

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 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.

## See Also

### Retrieving Information About a Saved Game File

- [name](gamekit/gksavedgame/name.md)
- [modificationDate](gamekit/gksavedgame/modificationdate.md)
