Instance Property

name

The name assigned to the underlying device.

Declaration

var name: String { get }

Discussion

On Apple Watch, the name matches the one specified in the General > About > Name section of the Apple Watch app on the paired iPhone. When running in the simulator, the name corresponds to the name of the host computer.