AddressViewControllerDelegate
public protocol AddressViewControllerDelegate : AnyObject
A delegate for AddressViewController
-
Called when the customer finishes entering their address or cancels. Your implemententation should dismiss the view controller.
Declaration
Swift
func addressViewControllerDidFinish(_ addressViewController: AddressViewController, with address: AddressViewController.AddressDetails?)
Parameters
address
A valid address or nil if the customer cancels the flow.