Domanda

Let's say that on my device I have apps from two bundle IDs corresponding to two vendors:

com.example0 com.example1

Say I have two apps installed for each. How would I retrieve the IDFV for those vendors and display it? My understanding is that, for each vendor, the IFDV is the same for all of that vendor's apps as long as I don't uninstall every app from them (if I do then the IDFV will be reset). For example, com.example0's two apps both have the same IDFV unless I uninstall both apps and reinstall them.

È stato utile?

Soluzione 2

Please see my answer on this thread. Apple has changed how IDFV was intended to work. identifierForVendor Problem

Altri suggerimenti

I don't think you can get the IDFV from the vendor's bundle ID. I think you can only get the current IDFV for the vendor of the current app using:

NSString *idfv = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top