TechnologiesDevice, Sensors & Hardware

DockKit

iOSmacOStvOSwatchOSvisionOS

DockKit lets your app obtain information about dock accessories and control their tracking behavior, animating and positioning them in three-dimensional space. Use DockAccessoryManager to discover and access connected hardware, and work with a DockAccessory to direct its movement. Errors that arise while communicating with an accessory are reported through DockKitError.

Accessory Discovery 1

Discover and access dock accessories connected to the device.

  • Cl
    DockAccessoryManageriOS 17+
    Observe the state of dock accessories and enable or disable system tracking.

Accessory Control 1

Direct the movement and tracking behavior of a connected dock accessory.

  • Cl
    DockAccessoryiOS 17+
    Obtain accessory information and control tracking behavior.

Errors 1

Conditions reported when communicating with a dock accessory fails.

  • En
    DockKitErroriOS 17+
    A list of errors that DockKit sends.
← Device, Sensors & Hardware