You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BLE_Framework/BLE.m:466:20: 'UUID' is deprecated: first deprecated in iOS 7.0 #5
Activity
kevinpk commentedon Nov 3, 2013
Johnny,
Replace
if(ble.activePeripheral.isConnected)
with
if(ble.activePeripheral.state == CBPeripheralStateConnected)
Sorry I can't help with what to do about UUID being deprecated. I came here to find that out as well!
Cheers,
Kevin
jopiek commentedon Nov 3, 2013
Thanks!
Greets Johan
Op 3 nov. 2013, om 16:29 heeft kevinpk notifications@github.com het volgende geschreven:
hayesmp commentedon Jun 9, 2014
The UUID issue makes an App unbuildable in iOS 8.
It's unfortunate that Apple has flagged this willy-nilly because I think all the are concerned about are you using phone UUIDs in your code.
sunnycyk commentedon Oct 30, 2014
If look at CBPeer.h, I think iOS8 now uses "identifier" which is instance of NSUUID.
afarber commentedon Jan 3, 2015
Maybe: replace UUID by peripheral.identifier.UUIDString