Core Bluetooth
Communicate with Bluetooth low energy and BR/EDR (“Classic”) Devices.
Overview
The Core Bluetooth framework provides the classes needed for your apps to communicate with Bluetooth-equipped low energy (LE) and Basic Rate / Enhanced Data Rate (BR/EDR) wireless technology.
Don’t subclass any of the classes of the Core Bluetooth framework. Overriding these classes isn’t supported and results in undefined behavior.
Core Bluetooth background execution modes aren’t supported in iPad apps running on macOS.
In iOS 26 and later, your app can continue certain activities in the background if the app starts a Live Activity before it goes to the background. If your app has an instantiated CBManager and starts a Live Activity, it can use the same privileges while in the background that it uses when it is in the foreground. This means activities like scanning without providing service UUID’s and scanning with duplicates filter disabled will be allowed while in the background. For more information about creating Live Activities, see ActivityKit.
Topics
Centrals
Peripherals
CBPeripheralCBPeripheralDelegateCBPeripheralManagerCBPeripheralManagerDelegateCBAttributeCBAttributePermissions
Data Transfer
Channel Sounding
Measuring distance between devices using Channel SoundingCBChannelSoundingProcedureResultsCBChannelSoundingSessionConfigurationCBUUIDCharacteristicObservationScheduleString