deviceName
The name of the device that the player uses to save the game.
Declaration
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 com.apple.developer.device-information.user-assigned-device-name entitlement. Otherwise, the default value for this property is the generic device name.