<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactsUI",
  "identifier" : "/documentation/ContactsUI/CNContactViewControllerDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Contacts UI"
    ],
    "preciseIdentifier" : "c:objc(pl)CNContactViewControllerDelegate"
  },
  "title" : "CNContactViewControllerDelegate"
}
-->

# CNContactViewControllerDelegate

Methods you use to respond to user interactions with a contact view controller.

```
protocol CNContactViewControllerDelegate : NSObjectProtocol
```

## Overview

Implement the methods of this protocol and assign the resulting object to the [`delegate`](/documentation/ContactsUI/CNContactViewController/delegate)
property of a `CNContactViewController` object.

## Topics

### Responding to User Events

[`contactViewController(_:shouldPerformDefaultActionFor:)`](/documentation/ContactsUI/CNContactViewControllerDelegate/contactViewController(_:shouldPerformDefaultActionFor:))

Called when the user selects a property.

[`contactViewController(_:didCompleteWith:)`](/documentation/ContactsUI/CNContactViewControllerDelegate/contactViewController(_:didCompleteWith:))

Called when the view has been presented.



---

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)