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

2011-12-22 Thread Conrad Shultz
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 wrote: >>> Thanks >>> I will use the UUID or DeviceID instead of the phone number. >> >> The device ID (UIDevice's -uniqueIdentifie

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

2011-12-22 Thread John Joyce
>> 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.) >

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

2011-12-22 Thread Dave DeLong
http://developer.apple.com/library/IOs/documentation/UIKit/Reference/UIDevice_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/doc/uid/TP40006902-AppendixA-DontLinkElementID_47 Cheers, Dave On Dec 22, 2011, at 6:08 PM, 吴明 wrote: > I dont found about this in iOS5.0 Api diffs and

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

2011-12-22 Thread 吴明
I dont found about this in iOS5.0 Api diffs and what's new in ios5.0 >FYI, the DeviceID was deprecated in iOS 5. > >Dave > ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Cont

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

2011-12-22 Thread Conrad Shultz
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 no

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

2011-12-22 Thread Dave DeLong
FYI, the DeviceID was deprecated in iOS 5. Dave Sent from Jane On Dec 22, 2011, at 4:50 PM, 吴明 wrote: > Thanks > I will use the UUID or DeviceID instead of the phone number. > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please d

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

2011-12-22 Thread 吴明
Thanks I will use the UUID or DeviceID instead of the phone number. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

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

2011-12-22 Thread Keary Suska
On Dec 22, 2011, at 8:37 AM, 吴明 wrote: > 1. [[NSUserDefaults standardUserDefaults] > stringForKey:@"SBFormattedPhoneNumber"]; > > 2. Use CTSettingCopyMyPhoneNumber(); > This function is included in Coretelephony framework. > > 3. Get all contacts phone number by addressbook framework. Then get

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

2011-12-22 Thread 吴明
the phone number. I don't know whether these ways are feasible. 在 2011-12-22 17:42:44,"Kyle Sluder" 写道: >2011/12/22 吴明 : >> How to get the phone number use ios sdk in iPhone.? > >Not gonna happen. iOS does not allow you to a

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

2011-12-22 Thread Kyle Sluder
2011/12/22 吴明 : > How to get the phone number use ios sdk in iPhone.? Not gonna happen. iOS does not allow you to access this information. --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

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

2011-12-22 Thread 吴明
How to get the phone number use ios sdk in iphone.? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help