<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBookUI",
  "identifier" : "/documentation/AddressBookUI/ABPersonViewControllerDelegate/personViewController(_:shouldPerformDefaultActionForPerson:property:identifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book UI"
    ],
    "preciseIdentifier" : "c:objc(pl)ABPersonViewControllerDelegate(im)personViewController:shouldPerformDefaultActionForPerson:property:identifier:"
  },
  "title" : "personViewController(_:shouldPerformDefaultActionForPerson:property:identifier:)"
}
-->

# personViewController(_:shouldPerformDefaultActionForPerson:property:identifier:)

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

```
func personViewController(_ personViewController: ABPersonViewController, shouldPerformDefaultActionForPerson person: ABRecord, property: ABPropertyID, identifier: ABMultiValueIdentifier) -> Bool
```

## Parameters

`personViewController`

The sender.

`person`

The person `personViewController` is displaying.

`property`

The property whose value the user selected.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if `personViewController` should perform its default action. Your application may quit as a result of this action. <doc://com.apple.documentation/documentation/Swift/false>: if `personViewController` should do nothing. The delegate may perform custom action processing.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)