---
title: CNContactPicker
framework: contactsui
role: symbol
role_heading: Class
path: contactsui/cncontactpicker
---

# CNContactPicker

A popover-based interface for selecting a contact.

## Declaration

```swift
class CNContactPicker
```

## Overview

Overview Before displaying the popover, configure the displayedKeys property with the information you want to display in the interface.

## Topics

### Responding to Picker Interactions

- [delegate](contactsui/cncontactpicker/delegate.md)
- [CNContactPickerDelegate](contactsui/cncontactpickerdelegate.md)

### Configuring the Picker Contents

- [displayedKeys](contactsui/cncontactpicker/displayedkeys.md)

### Displaying the Popover

- [showRelative(to:of:preferredEdge:)](contactsui/cncontactpicker/showrelative(to:of:preferrededge:).md)

### Closing the Popover

- [close()](contactsui/cncontactpicker/close().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Contact pickers

- [CNContactPickerViewController](contactsui/cncontactpickerviewcontroller.md)
