• 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
All Address Book person unique IDs are the same
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: NSArrayController question [Solved]
  • Next by Date: Implicit @try/@catch?
  • Previous by thread: Re: NSArrayController question [Solved]
  • Next by thread: Implicit @try/@catch?
  • Index(es):
    • Date
    • Thread