accessory setup kit
Asked on 2024-07-30
1 search
The AccessorySetupKit is a new framework introduced by Apple at WWDC 2024, designed to streamline and enhance the setup experience for Bluetooth and WiFi accessories in iOS 18 and iPadOS 18. Here are some key points about the AccessorySetupKit:
-
Simplified Setup Process: The AccessorySetupKit removes the friction from the setup process. With just one tap, an accessory can be paired to your app, granting both Bluetooth and WiFi access. This is a significant improvement over the previous method, which required multiple steps and permissions.
-
Privacy-Friendly Design: The accessory picker runs in a separate process, ensuring a privacy-friendly design. Your app sends discovery rules and assets to the picker process, which can be configured for both Bluetooth and WiFi interfaces.
-
Enhanced User Control: Users can easily identify accessories, modify their names, toggle access for paired apps, or remove them from the system. The accessory page is integrated into Bluetooth and WiFi settings.
-
API Integration: The framework provides APIs to create an accessory session, present the accessory picker, and handle events. The
as accessory sessionis the central object that manages the accessory picker and notifies you of events. -
Migration Support: For apps that already manage accessories using system access, the AccessorySetupKit provides a migration path. You can use
as migration display itemto migrate existing accessories to the new setup kit. -
Sample Project: A sample project is available that demonstrates how to set up digital dice and sync roll results over Bluetooth using the AccessorySetupKit.
For more detailed information, you can refer to the session Meet AccessorySetupKit at WWDC 2024.
Relevant Sessions

What’s new in privacy
At Apple, we believe privacy is a fundamental human right. Learn about new and improved permission flows and other features that manage data in a privacy-preserving way, so that you can focus on creating great app experiences.

Meet AccessorySetupKit
Elevate your accessory setup experience with AccessorySetupKit. Display a beautiful pairing dialog with an image of your Bluetooth or Wi-Fi accessory — no trip to the Settings app required. Discover how to improve privacy by pairing only your app with an accessory. And learn how you can migrate existing accessories so they can be managed by AccessorySetupKit.
