---
title: "onApplePayShippingContactChange(perform:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/onapplepayshippingcontactchange(perform:)"
---

# onApplePayShippingContactChange(perform:)

Called when a user selected a shipping address. This is required if the user is being asked to provide a shipping contact.

## Declaration

```swift
nonisolated func onApplePayShippingContactChange(perform action: @escaping (PKContact) async -> PKPaymentRequestShippingContactUpdate) -> some View

```

## Return Value

Return Value An update to the payment request shipping methods.

## See Also

### Accessing Apple Pay and Wallet

- [PayWithApplePayButton](passkit/paywithapplepaybutton.md)
- [AddPassToWalletButton](passkit/addpasstowalletbutton.md)
- [VerifyIdentityWithWalletButton](passkit/verifyidentitywithwalletbutton.md)
- [addOrderToWalletButtonStyle(_:)](swiftui/view/addordertowalletbuttonstyle(_:).md)
- [addPassToWalletButtonStyle(_:)](swiftui/view/addpasstowalletbuttonstyle(_:).md)
- [onApplePayCouponCodeChange(perform:)](swiftui/view/onapplepaycouponcodechange(perform:).md)
- [onApplePayPaymentMethodChange(perform:)](swiftui/view/onapplepaypaymentmethodchange(perform:).md)
- [onApplePayShippingMethodChange(perform:)](swiftui/view/onapplepayshippingmethodchange(perform:).md)
- [payLaterViewAction(_:)](swiftui/view/paylaterviewaction(_:).md)
- [payLaterViewDisplayStyle(_:)](swiftui/view/paylaterviewdisplaystyle(_:).md)
- [payWithApplePayButtonDisableCardArt()](swiftui/view/paywithapplepaybuttondisablecardart().md)
- [payWithApplePayButtonStyle(_:)](swiftui/view/paywithapplepaybuttonstyle(_:).md)
- [verifyIdentityWithWalletButtonStyle(_:)](swiftui/view/verifyidentitywithwalletbuttonstyle(_:).md)
- [AsyncShareablePassConfiguration](passkit/asyncshareablepassconfiguration.md)
- [transactionTask(_:action:)](swiftui/view/transactiontask(_:action:).md)
