All Address Book person unique IDs are the same
All Address Book person unique IDs are the same
- Subject: All Address Book person unique IDs are the same
- From: Greg Hoover <email@hidden>
- Date: Tue, 10 Nov 2009 20:32:08 -0800
I'm using the following code to search for AB Records matching an email address. The search finds matching records but every returned record has the same unique ID (which doesn't match the unique ID of any Person records in AB). Any ideas?
ABAddressBook *book = [ABAddressBook sharedAddressBook];
ABSearchElement *element = [ABPerson searchElementForProperty: kABEmailProperty
label: nil
key: nil
value: email
comparison: kABEqualCaseInsensitive];
NSArray *records = [book recordsMatchingSearchElement: element];
Thanks._______________________________________________
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