Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS identifier property deprecated

After iOS 7.1, the identifier property for CBPeripheral has been deprecated. However, retreivePerihperalsWithIdentifiers is not deprecated. How can that method be called without using the identifier property?

like image 925
shreyashirday Avatar asked Jul 30 '15 16:07

shreyashirday


People also ask

How do I get IDFV?

Is there an Android equivalent for IDFV? There is no Android equivalent of IDFV, because the GPS-ADID (Google Play Services ID) is the Android equivalent of IDFA. While Google's privacy policies are moving in the same direction as Apple's ATT, access to GPS-ADID is still widely available for advertisers.

What is Uttype?

A structure that represents a type of data to load, send, or receive.

What is identifier for vendor iOS?

Identifier for Vendors (IDFV) | Definition. IDFV stands for “identifier for vendors” and is a universally unique identifier (UUID) used by Apple on many of its devices, including iPhone, iPad, etc. The IDFV is 32 characters long with 4 dashes and can be used to distinguish individual devices engaging with an app.

What is app identifier in iOS?

June 03, 2022 01:56. An "App ID" is a unique identifier that iOS uses to allow your application to connect to the Apple Push Notification service, share keychain data between applications, and to communicate with external hardware accessories you wish to pair to your iOS application.


1 Answers

I think this is a bug of Apple's doc. See code in CoreBluetooth/CBPeer.h:

@property(readonly, nonatomic) NSUUID *identifier NS_AVAILABLE(NA, 7_0);

Xcode does not raise warnings for using this property and the code works well in iOS 8 and 9 beta.

like image 57
realaboo Avatar answered Sep 20 '22 21:09

realaboo