<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ContactsUI",
  "identifier" : "/documentation/ContactsUI/CNContactPicker",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Contacts UI"
    ],
    "preciseIdentifier" : "c:objc(cs)CNContactPicker"
  },
  "title" : "CNContactPicker"
}
-->

# CNContactPicker

A popover-based interface for selecting a contact.

```
class CNContactPicker
```

## Overview

Before displaying the popover, configure the [`displayedKeys`](/documentation/ContactsUI/CNContactPicker/displayedKeys)
property with the information you want to display in the interface.

## Topics

### Responding to Picker Interactions

[`delegate`](/documentation/ContactsUI/CNContactPicker/delegate)

The picker delegate to be notified when the user chooses a contact.

[`CNContactPickerDelegate`](/documentation/ContactsUI/CNContactPickerDelegate)

The methods that you implement to respond to contact-picker user events.

### Configuring the Picker Contents

[`displayedKeys`](/documentation/ContactsUI/CNContactPicker/displayedKeys)

The keys to be displayed when a contact is expanded.

### Displaying the Popover

[`showRelative(to:of:preferredEdge:)`](/documentation/ContactsUI/CNContactPicker/showRelative(to:of:preferredEdge:))

Shows the picker popover anchored to the specified view.

### Closing the Popover

[`close()`](/documentation/ContactsUI/CNContactPicker/close())

Closes the popover.



---

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)