升级ios9之后,使用蓝牙App基本都中招崩溃

用户升级到ios9之后,绝大部分使用蓝牙的App都一运行就崩溃。
因为:属性isConnected一直是被开发者当作判断蓝牙是否连接成功的属性,极为重要和常用。
ios9的SDK废弃掉了一个API:
CBPeripheral中的isConnected,在ios9上不能用!

isConnected
Available in iOS 5.0 through iOS 8.4 Property
A Boolean value indicating whether the peripheral is currently connected to the central manager. (read-only)

Deprecation Statement
Use the state property instead.

AppStore上,使用BLE的App基本上都中招了,
想咨询一下各位,这种情况在历代ios9升级中出现过吗?直接废弃掉某一个属性或者方法?

我也遇到了同样的问题!!!!

if (peripheral.state != CBPeripheralStateConnected) {}

楼主解决问题了吗??
还有uuid怎么解决?