ABNewPersonViewController Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AddressBookUI.framework |
| Availability | Available in iOS 2.0 and later. |
| Declared in | ABNewPersonViewController.h |
Overview
The ABNewPersonViewController class (whose instances are known as new-person view controllers) implements the view controller used to create a contact.
New-person view controllers are modal view controllers that manage a set of view controllers used to create a contact (ABPersonRef) and edit its properties.
Tasks
Displaying Person Properties
-
displayedPersonproperty
Configuring New Person Views
-
addressBookproperty -
parentGroupproperty -
newPersonViewDelegateproperty
Properties
addressBook
Optional. The address book to which the new contact is added.
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
ABNewPersonViewController.hdisplayedPerson
Optional. Specifies the person properties that the new-person view controller pre-fills in its views.
Discussion
When this property has no person properties, the new-person view controller does not pre-fill properties in its views.
Availability
- Available in iOS 2.0 and later.
Declared In
ABNewPersonViewController.hnewPersonViewDelegate
The delegate of a new-person view controller.
Discussion
The delegate must adopt the ABNewPersonViewControllerDelegate formal protocol.
Availability
- Available in iOS 2.0 and later.
Declared In
ABNewPersonViewController.hparentGroup
Optional. Specifies the group to which to add the new contact on save.
Discussion
You must set addressBook before you can set this property.
Availability
- Available in iOS 2.0 and later.
Declared In
ABNewPersonViewController.h© 2010 Apple Inc. All Rights Reserved. (Last updated: 2010-10-13)