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.
- ClDockAccessoryManageriOS 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.
- ClDockAccessoryiOS 17+Obtain accessory information and control tracking behavior.
Errors 1
Conditions reported when communicating with a dock accessory fails.
- EnDockKitErroriOS 17+A list of errors that DockKit sends.