Instance Method


Invoked when the central manager fails to create a connection with a peripheral.


- (void)centralManager:(CBCentralManager *)central didFailToConnectPeripheral:(CBPeripheral *)peripheral error:(NSError *)error;



The central manager providing this information.


The peripheral that failed to connect.


The cause of the failure.


This method is invoked when a connection initiated via the connectPeripheral:options: method fails to complete. Because connection attempts do not time out, a failed connection usually indicates a transient issue, in which case you may attempt to connect to the peripheral again.

See Also

Monitoring Connections with Peripherals

- centralManager:didConnectPeripheral:

Invoked when a connection is successfully created with a peripheral.

- centralManager:didDisconnectPeripheral:error:

Invoked when an existing connection with a peripheral is torn down.

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