---
title: "select(_:byExtendingSelection:)"
framework: addressbook
role: symbol
role_heading: Instance Method
path: "addressbook/abpeoplepickerview/select(_:byextendingselection:)-9eldk"
---

# select(_:byExtendingSelection:)

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

## Declaration

```swift
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.

## See Also

### Selecting Groups and Records

- [allowsGroupSelection](addressbook/abpeoplepickerview/allowsgroupselection.md)
- [allowsMultipleSelection](addressbook/abpeoplepickerview/allowsmultipleselection.md)
- [deselectAll(_:)](addressbook/abpeoplepickerview/deselectall(_:).md)
- [deselect(_:)](addressbook/abpeoplepickerview/deselect(_:)-3x7tl.md)
- [deselectIdentifier(_:for:)](addressbook/abpeoplepickerview/deselectidentifier(_:for:).md)
- [deselect(_:)](addressbook/abpeoplepickerview/deselect(_:)-1yy11.md)
- [selectedGroups](addressbook/abpeoplepickerview/selectedgroups.md)
- [selectedIdentifiers(for:)](addressbook/abpeoplepickerview/selectedidentifiers(for:).md)
- [selectedRecords](addressbook/abpeoplepickerview/selectedrecords.md)
- [selectedValues()](addressbook/abpeoplepickerview/selectedvalues().md)
- [select(_:byExtendingSelection:)](addressbook/abpeoplepickerview/select(_:byextendingselection:)-6mrii.md)
- [selectIdentifier(_:for:byExtendingSelection:)](addressbook/abpeoplepickerview/selectidentifier(_:for:byextendingselection:).md)
