In my ios app I've used
uuid = [[ASIdentifierManager sharedManager] advertisingIdentifier]
as udid for my push notification.
Today when I tried to publish my app, itunes asks me:
This app uses the Advertising Identifier to (select all that apply):
- Serve advertisements within the app.
- Attribute this app installation to a previously served advertisement.
- Attribute an action taken within this app to a previously served advertisement.
I use the uuid only for push notification. which of the 3 options should I choose?
Thanks in advance.
[[UIDevice currentDevice] identifierForVendor]
Is the better choice. You offer one single identifier for a device, even if the settings are reset.
The value of this property is the same for apps that come from the same vendor running on the same device. A different value is returned for apps on the same device that come from different vendors, and for apps on different devices regardless of vendor.UIDevice#identifierForVendor
For more explanation, heres a good summary: iOS6 UDID - What advantages does identifierForVendor have over identifierForAdvertising?
So, in case you do not use the advertisingIdentifier at all for advertising, you shouldn't make use of this => unfortunately, your question regarding the 3 approaches is obsolete.