---
title: selectedRecords
framework: addressbook
role: symbol
role_heading: Instance Property
path: addressbook/abpeoplepickerview/selectedrecords
---

# selectedRecords

The selection in the records list. (read-only)

## Declaration

```swift
var selectedRecords: [Any]! { get }
```

## Discussion

Discussion The selection is returned as an array of ABGroup or ABPerson objects. Person records are unified by the people picker for display—multiple person records that represent the same person are displayed as if there were a single record containing all of the properties. If the user selects such a record, this array includes all of the person records that were unified.

## 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)
- [selectedValues()](addressbook/abpeoplepickerview/selectedvalues().md)
- [select(_:byExtendingSelection:)](addressbook/abpeoplepickerview/select(_:byextendingselection:)-6mrii.md)
- [selectIdentifier(_:for:byExtendingSelection:)](addressbook/abpeoplepickerview/selectidentifier(_:for:byextendingselection:).md)
- [select(_:byExtendingSelection:)](addressbook/abpeoplepickerview/select(_:byextendingselection:)-9eldk.md)
