• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to get the phone number use ios sdk in iphone.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the phone number use ios sdk in iphone.


  • Subject: Re: How to get the phone number use ios sdk in iphone.
  • From: Conrad Shultz <email@hidden>
  • Date: Thu, 22 Dec 2011 17:05:38 -0800

On 12/22/11 4:50 PM, 吴明 wrote:
> Thanks
> I will use the UUID or DeviceID instead of the phone number.

The device ID (UIDevice's -uniqueIdentifier) is deprecated in iOS 5.
Don't use it.  (As you can probably gather, Apple is rightfully keen on
preventing developers from trying to track users in non-anonymized ways.)

CFUUID is fine, but keep in mind that if you are storing it in
NSUserDefaults then this presumably is not actually device-specific but
app-specific, in the sense that a backup-and-restore ought to preserve
the NSUserDefaults database across devices (say, if the user upgrades
from an older iPhone to a newer one).

Now, you haven't said *why* you are doing all this.  I can't think of a
good reason why you would need a true device identifier in your
application, so hopefully the above caveat won't affect you.

If you would like, perhaps you can elaborate on your goal?

--
Conrad Shultz

Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to get the phone number use ios sdk in iphone.
      • From: John Joyce <email@hidden>
References: 
 >Re: How to get the phone number use ios sdk in iphone. (From: Keary Suska <email@hidden>)
 >Re: How to get the phone number use ios sdk in iphone. (From: Kyle Sluder <email@hidden>)
 >How to get the phone number use ios sdk in iphone. (From: 吴明 <email@hidden>)
 >Re:Re: How to get the phone number use ios sdk in iphone. (From: 吴明 <email@hidden>)
 >Re: How to get the phone number use ios sdk in iphone. (From: 吴明 <email@hidden>)

  • Prev by Date: Re: How to get the phone number use ios sdk in iphone.
  • Next by Date: Re: How to get the phone number use ios sdk in iphone.
  • Previous by thread: Re: How to get the phone number use ios sdk in iphone.
  • Next by thread: Re: How to get the phone number use ios sdk in iphone.
  • Index(es):
    • Date
    • Thread