iOS Reference Library Apple Developer
Search

ABPersonViewControllerDelegate Protocol Reference

Conforms to
Framework
/System/Library/Frameworks/AddressBookUI.framework
Availability
Available in iOS 2.0 and later.
Declared in
ABPersonViewController.h

Overview

The ABPersonViewControllerDelegate protocol declares the interface that must be implemented by ABPersonViewController delegates.

Tasks

Responding to User Events

Instance Methods

personViewController:shouldPerformDefaultActionForPerson:property:identifier:

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

- (BOOL)personViewController:(ABPersonViewController *)personViewController shouldPerformDefaultActionForPerson:(ABRecordRef)person property:(ABPropertyID)property identifier:(ABMultiValueIdentifier)identifierForValue

Parameters
personViewController

The sender.

person

The person personViewController is displaying.

property

The property whose value the user selected.

valueIdentifier

When property is a multivalue property, the value the user selected.

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

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

Availability
  • Available in iOS 2.0 and later.
Declared In
ABPersonViewController.h



Last updated: 2009-05-15

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