CBCentralManager deprecated?

The iOS 9 release notes read:


"Apps that use

CBCentralManager
(particularly
retrievePeripherals:
and
retrieveConnectedPeripherals
) will crash on launch or upon pairing an accessory.
CBCentralManager
was deprecated in iOS 7.0 and has been removed in iOS 9.0."


I am wondering heavily if this is a mistake or actually true? CBCentralManager does not seem to be deprecated currently, and still seems to be present and working in iOS 9 from my tests. I did notice some differences in how BTLE works, but basically its still the same as before.


I suppose the release notes actually mean that the two methods have been removed, not the entire class? If CBCentralManager is really removed, how is it replaced?

Accepted Answer

That's poor wording. CBCentralManager isn't being deprecated, only those two methods are. (src: @RenaudLienhart)

Thanks. FYI, the release notes have been updated and now say:


Apps that use

CBCentralManager
(particularly
retrievePeripherals:
and
retrieveConnectedPeripherals
) will crash on launch or upon pairing an accessory. These methods were deprecated in 7.0 and have been removed in 9.0.
CBCentralManager deprecated?
 
 
Q