Invoked when the central manager’s state is updated.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 4.0+
- Core Bluetooth
The central manager whose state has changed.
You implement this required method to ensure that Bluetooth low energy is supported and available to use on the central device. You should issue commands to the central manager only when the state of the central manager is powered on, as indicated by the
CBCentral constant. A state with a value lower than
CBCentral implies that scanning has stopped and that any connected peripherals have been disconnected. If the state moves below
CBPeripheral objects obtained from this central manager become invalid and must be retrieved or discovered again. For a complete list and discussion of the possible values representing the state of the central manager, see the CBCentralManagerState enumeration in