<!--
{
  "availability" : [
    "iOS: 2.0.0 - 9.0.0",
    "iPadOS: 2.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBookUI",
  "identifier" : "/documentation/AddressBookUI/ABUnknownPersonViewController/addressBook",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Address Book UI"
    ],
    "preciseIdentifier" : "c:objc(cs)ABUnknownPersonViewController(py)addressBook"
  },
  "title" : "addressBook"
}
-->

# addressBook

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

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

## 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`](/documentation/AddressBookUI/ABUnknownPersonViewController/allowsAddingToAddressBook) is <doc://com.apple.documentation/documentation/Swift/true> and the user taps the “Add to Existing Contact” or “Create New Contact” button.

---

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)