天天看點

Alternative to iPhone device ID (UDID)Alternative to iPhone device ID (UDID) [duplicate]

Alternative to iPhone device ID (UDID)Alternative to iPhone device ID (UDID) [duplicate]

3

Possible Duplicate: <a href="http://stackoverflow.com/questions/6993325/uidevice-uniqueidentifier-deprecated-what-to-do-now">UIDevice uniqueIdentifier Deprecated - What To Do Now?</a>

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 ?

<a href="http://stackoverflow.com/posts/9631608/revisions">edited Mar 9 '12 at 10:18</a>

<a href="http://stackoverflow.com/users/919545/ankit-srivastava">Ankit Srivastava</a>

6,09721041

asked Mar 9 '12 at 9:22

<a href="http://stackoverflow.com/users/127493/martin">Martin</a>

2,19611635

<a></a>

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.

<a href="http://stackoverflow.com/posts/9631750/revisions">edited Mar 9 '12 at 10:19</a>

answered Mar 9 '12 at 9:32

2

<a href="http://stackoverflow.com/questions/9631608/alternative-to-iphone-device-id-udid">show 3 more comments</a>

Alternative to iPhone device ID (UDID)Alternative to iPhone device ID (UDID) [duplicate]

try this

answered Mar 9 '12 at 9:29

<a href="http://stackoverflow.com/users/694779/hchouhan02">hchouhan02</a>

538512

Please implement the new logic to get Secure UDID.it is provided by Third Party

<a href="http://www.secureudid.com/">Learn about free solution:</a>

This really works fine and is easy to implememt without making it a fuss to replace the deprecated method.

<a href="http://stackoverflow.com/posts/10754236/revisions">edited Feb 20 at 5:39</a>

answered May 25 '12 at 12:14

<a href="http://stackoverflow.com/users/924826/shantanu">Shantanu</a>

838417

歡迎加群互相學習,共同進步。QQ群:iOS: 58099570 | Android: 572064792 | Nodejs:329118122 做人要厚道,轉載請注明出處!

本文轉自張昺華-sky部落格園部落格,原文連結:http://www.cnblogs.com/sunshine-anycall/p/3330616.html,如需轉載請自行聯系原作者

繼續閱讀