Global Variable

CBPeripheralManagerOptionShowPowerAlertKey

Declaration

let CBPeripheralManagerOptionShowPowerAlertKey: String

Discussion

A Boolean value that specifies whether the system should display a warning dialog to the user if Bluetooth is powered off when the peripheral manager is instantiated.

The value for this key is an NSNumber. If the key is not specified, the default value is false.

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