Contents

shippingContact

A prepopulated shipping address.

Declaration

var shippingContact: PKContact? { get set }

Mentioned in

Discussion

If you have an up-to-date shipping address on file, you can set this property to that address. This shipping address appears in the payment sheet. When the framework presents the PKPaymentAuthorizationViewController, the user can either keep the address you specified or enter a different address.

Note that a PKContact object that represents a shipping contact contains information for only the postalAddress, emailAddress, and phoneNumber properties. The framework sets all other properties in the object to nil.

See Also

Providing known contact information