<!--
{
  "availability" : [
    "macOS: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABPeoplePickerView/select(_:byExtendingSelection:)-9eldk",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:objc(cs)ABPeoplePickerView(im)selectRecord:byExtendingSelection:"
  },
  "title" : "select(_:byExtendingSelection:)"
}
-->

# select(_:byExtendingSelection:)

Selects a record or a set of records in the record list.

```
func select(_ record: ABRecord!, byExtendingSelection extend: Bool)
```

## Parameters

`record`

The record to be selected, or to be added to the current selection.

`extend`

<doc://com.apple.documentation/documentation/Swift/true> to extend the current selection; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## 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)