what are the latest changes to CoreBluetooth

Generated on 8/3/2024

1 search

The latest changes to CoreBluetooth were discussed in the context of privacy and accessory management at WWDC 2024. Here are the key updates:

  1. Updated Bluetooth Authorization Prompt:

    • iOS 18 introduces a new Bluetooth authorization prompt that enhances transparency about the types of data shared with Bluetooth access and the potential privacy risks. The prompt now includes a map indicating the current location of the device and a sample of associated devices. This helps users make more informed choices about granting Bluetooth access (What’s new in privacy).
  2. Accessory Setup Kit:

    • The new Accessory Setup Kit simplifies the process of managing accessories with Bluetooth and Wi-Fi. When an accessory is paired with your app, the CB central manager state will only become powered on when your app has paired accessories. This means users will not be asked for permission to use Bluetooth unless necessary (Meet AccessorySetupKit).
    • The Accessory Setup Kit handles the discovery and authorization of accessories, while communication with the accessory is still managed using CoreBluetooth and Network Extension APIs (Meet AccessorySetupKit).

These changes aim to improve user control and privacy while maintaining the functionality needed for apps to interact with Bluetooth accessories.