Deprecated CBPeripheralDelegate Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 7.0

peripheralDidInvalidateServices:

Invoked when a peripheral’s services have changed. (Deprecated in iOS 7.0. Use the peripheral:didModifyServices: method instead.)

- (void)peripheralDidInvalidateServices:(CBPeripheral *)peripheral
Parameters
peripheral

The peripheral providing this information.

Discussion

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.

Availability
  • Available in iOS 6.0 and later.
  • Deprecated in iOS 7.0.
Declared In
CBPeripheral.h