ABPeoplePickerNavigationController Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AddressBookUI.framework |
| Availability | Available in iOS 2.0 and later. |
| Declared in | ABPeoplePickerNavigationController.h |
Overview
The ABPeoplePickerNavigationController class (whose instances are known as people-picker navigation controllers) implements a view controller that manages a set of views that allow the user to select a contact or one of its contact-information items from an address book.
Tasks
Displaying Person Properties
-
displayedPropertiesproperty
Configuring People Pickers
-
addressBookproperty -
peoplePickerDelegateproperty
Properties
addressBook
Optional. The address book from which to obtain the list of contacts.
Discussion
When unset, an address book is created and assigned to this property when needed.
Availability
- Available in iOS 2.0 and later.
Declared In
ABPeoplePickerNavigationController.hdisplayedProperties
Array of NSNumber objects representing ABPropertyID values identifying properties (such as name or telephone number) the picker displays when it shows a person.
Discussion
To have the picker display a single property for the person displayed, such as telephone number, set displayedProperties to an array with a single value, such as kABPersonPhoneProperty.
Availability
- Available in iOS 2.0 and later.
Declared In
ABPeoplePickerNavigationController.hpeoplePickerDelegate
The people-picker navigation controller delegate.
Discussion
The delegate must adopt the ABPeoplePickerNavigationControllerDelegate formal protocol.
Availability
- Available in iOS 2.0 and later.
Declared In
ABPeoplePickerNavigationController.h© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-05-15)