Tells the delegate that the user selected a shipping method.
- iOS 10.0–11.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.0–4.0Deprecated
Kit (Apple Pay and Wallet)
The payment authorization controller.
The selected shipping method. This parameter contains one of the shipping methods included in the payment request.
The completion block to be called with updated shipping information.
This block takes the following parameters:
Use this method to update shipping costs based on the shipping address selected by the user, as previously passed to the delegate in the
payment method. If no address has been selected, use the prepopulated address on the payment request.
When this method is called, you create a new array of
PKPayment objects that represent the updated cost including shipping. For more information on creating summary items, see the