iOS Developer Library — Prerelease

Developer

Address Book UI Framework Reference for iOS ABNewPersonViewController Class Reference

Options
Deployment Target:

On This Page
Language:

ABNewPersonViewController

The ABNewPersonViewController class (whose instances are known as new-person view controllers) implements the view controller used to create a contact.

New-person view controllers are modal view controllers that manage a set of view controllers used to create a contact (ABPersonRef) and edit its properties.

Subclassing Notes

The ABNewPersonViewController class does not support subclassing.

  • Optional. Specifies the person properties that the new-person view controller pre-fills in its views.

    Declaration

    Swift

    var displayedPerson: ABRecord?

    Objective-C

    @property(nonatomic, readwrite) ABRecordRef _Nullable displayedPerson

    Discussion

    When this property has no person properties, the new-person view controller does not pre-fill properties in its views.

    Availability

    Available in iOS 2.0 and later.

    Deprecated in iOS 9.0.