Alternative to iPhone device ID (UDID)
Even if Apple was not at Barcelone's MWC (mobile world congress), there was the certitude that getting the deviceID will be deprecated in further iOS SDK. I do not understand why Apple want to restrict this, but that's not the topic. I must prepare my application to an alternative because my users are identified and known for a better use of my app (don't need to log, or create an account, for example). And I'm sure I'm not alone in that case. So anybody know an alternative from getting the deviceID ? Is there other unique identifier, like MAC address, for example ? How do you prepare your app ? |
|||||||||||||
|
marked as duplicate by casperOne♦ Sep 20 '12 at 11:23
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
UPDATE What about using CFUUID to generate a UUID. You can than store it in KEYCHAIN on the very first launch.. you can get it like this...
and also by deprecating the uniqueIdentifier method, Apple is suggesting that you don't identify per device but instead per app install. may be tomorrow they might decide to reject your app for doing this .. :/ hoping this helps. |
|||||||||||||||||||||||||||||||
|
try this
|
|||||||||||||
|
Please implement the new logic to get Secure UDID.it is provided by Third Party This really works fine and is easy to implememt without making it a fuss to replace the deprecated method. |
|||||||||||||||||||
|