Re: How to get the phone number use ios sdk in iphone.
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 19:59:06 -0800
Point well taken. I do often sometimes forget about the enterprise side of things.
(Sent from my iPad.)
--
Conrad Shultz
On Dec 22, 2011, at 19:23, John Joyce <email@hidden> 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?
>>
> We should keep in mind that this could be an enterprise app that would not necessarily be for sale on the App Store.
> Enterprises can distribute iOS apps (along with a Profile) independently of the App Store.
> (OS X server is one method.)
> So, perhaps, some asset tracking system?
_______________________________________________
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