---
title: addressBook
framework: addressbookui
role: symbol
role_heading: Instance Property
path: addressbookui/abunknownpersonviewcontroller/addressbook
---

# addressBook

Optional. The address book database that the person record is added to.

## Declaration

```swift
var addressBook: ABAddressBook? { get set }
```

## Discussion

Discussion When unspecified, this view controller sets the value of this property by creating an ABAddressBookRef object. The person record is only added to the address book database if allowsAddingToAddressBook is true and the user taps the “Add to Existing Contact” or “Create New Contact” button.

## See Also

### Configuring the Interface Details

- [allowsActions](addressbookui/abunknownpersonviewcontroller/allowsactions.md)
- [allowsAddingToAddressBook](addressbookui/abunknownpersonviewcontroller/allowsaddingtoaddressbook.md)
