Datasheet

774
Interfacing with the Address Book Application
ABPeoplePickerNavigationController, which prompts the user to
select a person record from their Address Book
ABPersonViewController, which displays a person record to the
user and optionally allows editing
ABNewPersonViewController, which prompts the user to create a
new person record
ABUnknownPersonViewController, which prompts the user to com-
plete a partial person record, and optionally allows them to add it to the
Address Book
Actually, you’ll really only be working the first and third controllers.
When you add a contact — as you will in this section — you’ll work with the
ABPeoplePickerNavigationController class. This controller allows
users to browse their list of contacts and select a person, as displayed back
in Figure 1-17. (You can also allow the user to browse properties, although
you won’t implement that here.)
Figure 1-17:
Displaying
the Address
Book
interface.
41_542934-bk07ch01.indd 77441_542934-bk07ch01.indd 774 3/26/10 10:32 PM3/26/10 10:32 PM