Conforms to | |
Framework | /System/Library/Frameworks/AddressBookUI.framework |
Availability | Available in iOS 2.0 and later. |
Declared in | ABNewPersonViewController.h |
The ABNewPersonViewControllerDelegate
protocol declares the interface that ABNewPersonViewController
delegates must implement.
Sent when the user taps Save or Cancel. If the user tapped Save, the current address book has been saved to the Address Book database. (required)
- (void)newPersonViewController:(ABNewPersonViewController *)newPersonViewController didCompleteWithNewPerson:(ABRecordRef)person
The new-person-view controller that manages the new-person interface.
On Save, the newly created (and saved) person record.
On Cancel, NULL
.
If the user tapped Save, pending changes in the current address book (ABAddressBook
) have been saved by the time this message is sent to the receiver.
The receiver must dismiss newPersonViewController.
ABNewPersonViewController.h
Last updated: 2009-05-15