Contents

init(for:)

Initializes a view controller for an existing contact.

Declaration

convenience init(for contact: CNContact)

Parameters

  • contact:

    The existing contact.

Return Value

A newly initialized CNContactViewController object.

Discussion

This view controller initializes the customized behavior and appearance of CNContactViewController for a contact.

See Also

Creating the Contact Viewer