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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]