Reputation: 54111
When using the standard iOS simulator address book, ABAddressBookCopyPeopleWithName()
doesn't return any results when searching for any of the names such as "Appleseed".
On the device it works fine. And retrieving all records using ABAddressBookCopyArrayOfAllPeople()
works as well on the simulator.
Upvotes: 1
Views: 408
Reputation: 54111
Apparently the composite name field isn't correctly populated for the Simulator database. When editing the "John Appleseed" record once it's subsequently found by ABAddressBookCopyPeopleWithName()
. The same applies to the other standard records.
Filed a bug as rdar://19889491.
Upvotes: 2