Tells the delegate that the user selected a shipping address.
- iOS 9.0–11.0Deprecated
The payment authorization view controller.
A contact object representing the new shipping address. To maintain privacy, the shipping information is anonymized. For example, in the United States it only includes the city, state, and zip code. This provides enough information to calculate shipping costs, without revealing sensitive information until the user actually approves the purchase.
The completion block to be called with updated shipping information.
This block takes the following parameters:
The authorization status for the payment. For values, see
Authorization View Controller Delegate
An array of
PKShippingobjects that replaces the shipping methods for the current payment request.
An array of
PKPaymentobjects that replaces the summary items for the current payment request.
Use this method to update the available shipping methods and, if a shipping method has been selected, the current shipping cost.
When this method is called, you create a new array of valid
PKShipping objects for the specified address. You also create an array of
PKPayment objects that represent the updated cost. The summary items should include the shipping cost if a valid shipping method has been selected. For more information on updating these values, see the