<!--
{
  "availability" : [
    "iOS: 17.0 -",
    "iPadOS: 17.0 -",
    "macCatalyst: 17.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DockKit",
  "identifier" : "/documentation/DockKit",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "DockKit"
    ],
    "preciseIdentifier" : "DockKit"
  },
  "title" : "DockKit"
}
-->

# DockKit

Interact with accessories that track subjects on camera as they move around.

## Overview

DockKit interfaces with DockKit-compatible motorized stands known as dock accessories to track the location of objects that appear in video frames. It determines how to best position the iPhone camera to frame and track objects, with improved person tracking using combined body and face tracking for human subjects. This feature, known as *system tracking*, automatically starts as soon as a person docks iPhone onto a compatible motorized stand and launches the Camera app. For example, system tracking is useful for content creators who want the camera to follow them while they move around their space, or instructors on a video call who are walking around a classroom.



![iPhone mounted in landscape orientation on a dock accessory with its back facing outward. A cocentric circle near the camera indicates that it is active.](images/com.apple.DockKit/dock@2x.png)



![iPhone mounted in landscape orientation on a dock accessory with its back facing outward. An arc around the base of the dock accessory indicates horizontal movement. An arc around the body of iPhone indicates up and down movement.](images/com.apple.DockKit/move@2x.png)



![iPhone mounted in landscape orientation on a dock accessory with the back of the iPhone aimed at a person in a video frame. The person in the frame is in midair, in the process of jumping.](images/com.apple.DockKit/track@2x.png)

You can disable system tracking and implement your own tracking behavior by using [`DockAccessoryManager`](/documentation/DockKit/DockAccessoryManager) and [`DockAccessory`](/documentation/DockKit/DockAccessory). Implement your own tracking behavior to follow a location of a custom object such as a pet, or a pair of hands performing a task. DockKit accessories integrate with <doc://com.apple.documentation/documentation/AVFoundation/AVCaptureSession> so apps with camera permissions work seamlessly together.

## Topics

### Controlling the dock accessory

[Controlling a DockKit accessory using your camera app](/documentation/DockKit/controlling-a-dockkit-accessory-using-your-camera-app)

Follow subjects in real time using an iPhone that you mount on a DockKit accessory.

[`DockAccessoryManager`](/documentation/DockKit/DockAccessoryManager)

Observe the state of dock accessories and enable or disable system tracking.

[`DockAccessory`](/documentation/DockKit/DockAccessory)

Obtain accessory information and control tracking behavior.

[`DockKitError`](/documentation/DockKit/DockKitError)

A list of errors that DockKit sends.

### Customizing tracking behavior

[Modify rotation and positioning programmatically](/documentation/DockKit/Modify-rotation-and-positioning-behavior-programmatically)

Perform custom control of the dock accessory.

[Track custom objects in a frame](/documentation/DockKit/Track-custom-objects-in-a-frame)

Use your machine learning model to focus on a specific subject.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)