iPhone OS Reference Library Apple Developer Connection spyglass button

ABUnknownPersonViewControllerDelegate Protocol Reference

Conforms to
Framework
/System/Library/Frameworks/AddressBookUI.framework
Availability
Available in iPhone OS 2.0 and later.
Declared in
ABUnknownPersonViewController.h

Overview

The ABUnknownPersonViewControllerDelegate protocol describes the interface ABUnknownPersonViewController delegates must adopt to respond to unknown-person view user events.

Tasks

Responding to User Events

Instance Methods

unknownPersonViewController:didResolveToPerson:

Sent when the user finishes creating a contact or adding the displayed person properties to an existing contact. (required)

- (void)unknownPersonViewController:(ABUnknownPersonViewController *)unknownPersonView didResolveToPerson:(ABRecordRef)person

Parameters
unknownPersonView

The unknown-person view controller that sent the message.

The receiver must dismiss this view controller.

person

The contact the user created or to which they added information. This record is saved in the Address Book database.

NULL when the user cancelled the interaction.

Availability
  • Available in iPhone OS 2.0 and later.
Declared In
ABUnknownPersonViewController.h

unknownPersonViewController:shouldPerformDefaultActionForPerson:property:identifier:

Sent when the user selects a property value of the person displayed in a person view controller.

- (BOOL)unknownPersonViewController:(ABUnknownPersonViewController *)personViewController shouldPerformDefaultActionForPerson:(ABRecordRef)person property:(ABPropertyID)property identifier:(ABMultiValueIdentifier)identifier

Parameters
unknownPersonViewController

The sender.

person

The person unknownPersonViewController is displaying.

property

The property who’s value the user selected.

identifier

The identifier for the value the user selected if property is a multivalue property; otherwise, kABMultiValueInvalidIdentifier.

Return Value
  • YES if unknownPersonViewController should perform its default action. Your application may quit as a result of this action.

  • NO: if unknownPersonViewController should do nothing. The delegate may perform custom action processing.

Availability
  • Available in iPhone OS 3.0 and later.
Declared In
ABUnknownPersonViewController.h


Last updated: 2009-05-26

Did this document help you? Yes It's good, but... Not helpful...