---
title: DockKit
framework: DockKit
role: collection
role_heading: Framework
platforms: [iOS 17.0+, iPadOS 17.0+, Mac Catalyst 17.0+]
path: dockkit
---

# DockKit

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

## Overview

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. You can disable system tracking and implement your own tracking behavior by using DockAccessoryManager and 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 AVCaptureSession so apps with camera permissions work seamlessly together.

## Topics

### Controlling the dock accessory

- [Controlling a DockKit accessory using your camera app](dockkit/controlling-a-dockkit-accessory-using-your-camera-app.md)
- [DockAccessoryManager](dockkit/dockaccessorymanager.md)
- [DockAccessory](dockkit/dockaccessory.md)
- [DockKitError](dockkit/dockkiterror.md)

### Customizing tracking behavior

- [Modify rotation and positioning programmatically](dockkit/modify-rotation-and-positioning-behavior-programmatically.md)
- [Track custom objects in a frame](dockkit/track-custom-objects-in-a-frame.md)
