<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Address Book UI"
    ],
    "preciseIdentifier" : "c:objc(cs)ABUnknownPersonViewController"
  },
  "title" : "ABUnknownPersonViewController"
}
-->

# ABUnknownPersonViewController

The `ABUnknownPersonViewController` class (whose instances are known as **unknown-person view controllers**) implements a view controller used to create a person record from a set of person properties.

```
class ABUnknownPersonViewController
```

## Overview

Unknown-person view controllers display contact information that can be saved to the Address Book database. From instances of this class, users may also initiate standard actions, such as:

- Phone call
- Text message
- Create contact
- Add to contact

Performing any of the standard actions may result in your application being moved to the background.

> Important:
> Unknown-person view controllers must be used with a navigation controller in order to function properly.

### Subclassing

The `ABUnknownPersonViewController` class does not support subclassing.

## Topics

### Responding to View Controller Interactions

[`unknownPersonViewDelegate`](/documentation/AddressBookUI/ABUnknownPersonViewController/unknownPersonViewDelegate)

The unknown-person view controller delegate.

[`ABUnknownPersonViewControllerDelegate`](/documentation/AddressBookUI/ABUnknownPersonViewControllerDelegate)

The methods you use to respond to events in an unknown person view controller.

### Displaying Person Properties

[`alternateName`](/documentation/AddressBookUI/ABUnknownPersonViewController/alternateName)

Provides a value that is displayed instead of the first and last name.

[`message`](/documentation/AddressBookUI/ABUnknownPersonViewController/message)

Text displayed below [`alternateName`](/documentation/AddressBookUI/ABUnknownPersonViewController/alternateName).

[`displayedPerson`](/documentation/AddressBookUI/ABUnknownPersonViewController/displayedPerson)

Specifies a person record whose properties are displayed by the view controller.

### Configuring the Interface Details

[`addressBook`](/documentation/AddressBookUI/ABUnknownPersonViewController/addressBook)

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

[`allowsActions`](/documentation/AddressBookUI/ABUnknownPersonViewController/allowsActions)

Specifies whether buttons appear to let the user perform actions such as sharing the contact, initiating a FaceTime call, or sending a text message.

[`allowsAddingToAddressBook`](/documentation/AddressBookUI/ABUnknownPersonViewController/allowsAddingToAddressBook)

Specifies whether the user can add the properties displayed by the unknown-person view controller to the address book database, either as a new contact or by adding them to an existing contact.

## Relationships

### Conforms To

[`UIContentContainer`](/documentation/UIKit/UIContentContainer)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`Equatable`](/documentation/Swift/Equatable)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIStateRestoring`](/documentation/UIKit/UIStateRestoring)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`NSExtensionRequestHandling`](/documentation/Foundation/NSExtensionRequestHandling)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`Sendable`](/documentation/Swift/Sendable)

### Inherits From

[`UIViewController`](/documentation/UIKit/UIViewController)

---

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)