Tells the delegate that the central manager disconnected from a peripheral.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 4.0+
- Core Bluetooth
The central manager that provides this information.
The now-disconnected peripheral.
The cause of the failure, or
nilif no error occurred.
The manager invokes this method when disconnecting a peripheral previously connected with the
connect method. The error parameter contains the reason for the disconnection, unless the disconnect resulted from a call to
cancel. After this method executes, the peripheral device’s
CBPeripheral object receives no further method calls.
All services, characteristics, and characteristic descriptors a peripheral become invalidated after it disconnects.