audioaccessorykitlisted
Install: claude install-skill dpearson2699/swift-ios-skills
# AudioAccessoryKit
Automatic audio switching and intelligent audio routing for third-party audio
accessories. Enables companion apps to register audio accessories with the
system, report device placement, and declare capabilities so the system can
seamlessly switch audio output. Available iOS 26.4+ / Swift 6.3.
> **Beta-sensitive.** AudioAccessoryKit is new in iOS 26.4 and may change before GM.
> Re-check current Apple documentation before relying on specific API details.
AudioAccessoryKit builds on top of AccessorySetupKit. The accessory must first
be paired via AccessorySetupKit before it can be registered for audio features.
The central type is `AccessoryControlDevice`, which manages registration,
capability declaration, and ongoing state updates.
## Contents
- [Setup](#setup)
- [Session Management](#session-management)
- [Audio Switching](#audio-switching)
- [Device Placement](#device-placement)
- [Connected Audio Sources](#connected-audio-sources)
- [Feature Discovery](#feature-discovery)
- [Error Handling](#error-handling)
- [Common Mistakes](#common-mistakes)
- [Review Checklist](#review-checklist)
- [References](#references)
## Setup
### Prerequisites
1. Pair the accessory over Bluetooth using AccessorySetupKit. This yields an
`ASAccessory` object.
2. Import both frameworks in the companion app:
```swift
import AccessorySetupKit
import AudioAccessoryKit
```
### Framework Availability
| Platform | Minimum Version |
|---|---|
| iOS | 26.4+ |
| iPadOS | 26