Type Method


Returns the app’s authorization status for sharing data while in the background state.


class func authorizationStatus() -> CBPeripheralManagerAuthorizationStatus

Return Value

A value indicating whether the app is authorized to share data using Bluetooth services while in the background. For a list of the possible values, see CBPeripheralManagerAuthorizationStatus.


The authorization status of a given app is managed by the system and determined by several factors. Apps must be explicitly authorized to share data using Bluetooth services while in the background state. The system automatically displays a request for user authorization when your app first attempts to use Bluetooth services to share data.

Calling this method does not prompt the user for access. Instead, you use this method to detect restricted access and simply hide any affected UI features from the user.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software