Instance Property


A Boolean property that indicates whether the controller is closely integrated with the device.


var isAttachedToDevice: Bool { get }


If true, then the controller is attached to the device or is close enough to it for the player to interact simultaneously with the controller and the device. If false, then the controller is not guaranteed to be near the device.

See Also

Inspecting a Controller

var vendorName: String?

The name of the vendor that manufactured the controller.