---
title: "contactPicker(_:didSelect:)"
framework: contactsui
role: symbol
role_heading: Instance Method
path: "contactsui/cncontactpickerdelegate/contactpicker(_:didselect:)-7vcyc"
---

# contactPicker(_:didSelect:)

Called after a contact has been selected by the user.

## Declaration

```swift
optional func contactPicker(_ picker: CNContactPickerViewController, didSelect contact: CNContact)
```

```swift
optional func contactPicker(_ picker: CNContactPicker, didSelect contact: CNContact)
```

## Parameters

- `picker`: The contact picker where the selection was made.
- `contact`: The selected contact.

## Discussion

Discussion This delegate method is called when the user selects a single contact.

## See Also

### Responding to User Selections

- [contactPicker(_:didSelect:)](contactsui/cncontactpickerdelegate/contactpicker(_:didselect:)-1xfpt.md)
- [contactPicker(_:didSelect:)](contactsui/cncontactpickerdelegate/contactpicker(_:didselect:)-5neeo.md)
- [contactPicker(_:didSelectContactProperties:)](contactsui/cncontactpickerdelegate/contactpicker(_:didselectcontactproperties:).md)
