Contents

styli

Get the collection of stylus accessories currently connected to the device.

Declaration

class var styli: [GCStylus] { get }

Mentioned in

Discussion

This property returns an array of all currently connected stylus accessories. The array is empty when no stylus accessories are connected. The array updates automatically as stylus accessories connect and disconnect.

To be notified when the array changes, register for the GCStylusDidConnectNotification and GCStylusDidDisconnectNotification.