I'm trying to retrieve all the addresses from the address book and display them in a tableview, but I am having trouble understanding the structure of the dictionary for which street addresses are returned. Does anyone know of a tutorial or relevant code snippet for extracting the street address(es) of contacts in the AddressBook?
Asked
Active
Viewed 579 times
2 Answers
1
Here is an explanation with example:AddressBook programming
You might want to retrieve kABAddressStreetKey from the kABAddressProperty
Good luck!

Daniel
- 20,420
- 10
- 92
- 149
0
For future readers, the link you want is the iOS version. There's an AddressBook framework for iOS and one for Mac OS, so they have separate documentation. It has a section on street addresses in the second chapter.

Alex Martini
- 750
- 4
- 11