4 ms·
Heads up to iOS devs: the advertising identifier is generated and changes each time that method is called. Generally a good idea to store it in user defaults or
by blueprint 14y ago
Heads up to iOS devs: the advertising identifier is generated and changes each time that method is called. Generally a good idea to store it in user defaults or keychain and check for it before generating a new one. More info there http://stackoverflow.com/a/12933454/122115 http://stackoverflow.com/a/12933454/122115
- xsmasher 14y agoThe advertising identifier does not change on every call. Using "CFUUIDCreate" IS WRONG, though. It generates a GUID. That's what CFUUIDCreate is supposed to do. But it's the wrong method to call to get the advertising identifier. You get the advertising identifier from ASIdentifierManager, and it does not change unless the user resets it.
- blueprint 14y agoThat's what I get for informing others of something I hadn't actually confirmed. Thanks for the correction. :)