peripheralDidInvalidateServices:

Invoked when a peripheral’s services have changed.

Declaration

- (void)peripheralDidInvalidateServices:(CBPeripheral *)peripheral

Parameters

peripheral

The peripheral providing this information.

Overview

Whenever any service of a peripheral changes, this method is invoked and all services that are visible to the app are invalidated. As a result, to access any services that are available on the peripheral, you must rediscover them using the discoverServices: method.

See Also

Monitoring Changes to a Peripheral’s Name or Services

- peripheralDidUpdateName:

Invoked when a peripheral’s name changes.

- peripheral:didModifyServices:

Invoked when a peripheral’s services have changed.