Mono Class Library: MonoTouch.AddressBookUI Namespace

MonoTouch.AddressBookUI.ABNewPersonViewControllerDelegate Class

Documentation for this section has not yet been entered.

See Also: ABNewPersonViewControllerDelegate Members

System.Object
     MonoTouch.Foundation.NSObject
          MonoTouch.AddressBookUI.ABNewPersonViewControllerDelegate

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Register("ABNewPersonViewControllerDelegate")]
public class ABNewPersonViewControllerDelegate : MonoTouch.Foundation.NSObject

Remarks

Overview

The ABNewPersonViewControllerDelegate protocol declares the interface that ABNewPersonViewController delegates must implement.

Tasks

Responding to User Events

Instance Methods

newPersonViewController:didCompleteWithNewPerson:

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

Parameters
newPersonViewController

The new-person-view controller that manages the new-person interface.

person

On Save, the newly created (and saved) person record.

On Cancel, NULL.

Discussion

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.

Availability
Declared In
ABNewPersonViewController.h

Requirements

Namespace: MonoTouch.AddressBookUI
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0