Deprecated CBPeripheral Methods

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

Deprecated in iOS 7.0

isConnected

A Boolean value indicating whether the peripheral is currently connected to the central manager. (read-only) (Deprecated in iOS 7.0. Use the state property instead.)

@property(readonly) BOOL isConnected
Discussion

YES if the peripheral is currently connected to the central manager as a result of your successfully calling the connectPeripheral:options: method of the CBCentralManager class. NO if the peripheral is not currently connected to the central manager.

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

UUID

The UUID of the peripheral. (read-only) (Deprecated in iOS 7.0. Use the identifier property instead.)

@property(readonly, nonatomic) CFUUIDRef UUID
Discussion

The first time a central connects to a peripheral, the system assigns the peripheral a UUID, represented by a new CFUUIDRef object. Your app can store this UUID and later provide it to a central manager for use in retrieving this specific peripheral. Peripherals are identified by standard CFUUIDRef UUIDs instead of by the CBUUID objects that identify a peripheral’s services, characteristics, and characteristic descriptors.

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