peripheralDidInvalidateServices:

Tells the delegate a peripheral’s services have changed.

Declaration

- (void)peripheralDidInvalidateServices:(CBPeripheral *)peripheral

Parameters

peripheral

The peripheral providing the service availability information.

Overview

Whenever any service of a peripheral changes, Core Bluetooth invokes this method, and invalidates all services that are visible to the app. As a result, to access a peripheral’s available service, you must rediscover them using the discoverServices: method.

See Also

Monitoring Changes to a Peripheral’s Name or Services

- peripheralDidUpdateName:

Tells the delegate that a peripheral’s name changed.

- peripheral:didModifyServices:

Tells the delegate that a peripheral’s services changed.