AddPassToWalletButton
struct · iOS 16.0+ · SDK 27.1
@MainActor @preconcurrency struct AddPassToWalletButton<Fallback> where Fallback : ViewA control that displays the Add To Wallet button which allows users to invoke the add pass controllers and views. Example usage: AddPassToWalletButton { // Launch add to wallet flow } AddPassToWalletButton(pass) { didAdd in // Handle result }.addPassToWalletButtonStyle(.black)
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
10 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
AddPassToWalletButton.init(carKeyPassword:supportedRadioTechnologies:issuerIdentifier:onCompletion:fallback:)
callback cannot propagate synchronous failure
AddPassToWalletButton.init(_:onCompletion:fallback:)
callback cannot propagate synchronous failure
AddPassToWalletButton.body
This protocol needs associated types that cannot yet cross the bridge.
AddPassToWalletButton.init(_:onCompletion:fallback:)
callback cannot propagate synchronous failure
AddPassToWalletButton.init(_:onRequest:onCompletion:fallback:)
callback cannot propagate synchronous failure
AddPassToWalletButton.init(_:onRequest:onCompletion:)
This Swift callback must itself suspend asynchronously. (nonthrowing, so a rejected promise cannot reach swift)
AddPassToWalletButton.init(_:cardholderName:passStyle:primaryAccountSuffix:cardDetails:description:filters:onRequest:onCompletion:fallback:)
callback cannot propagate synchronous failure
AddPassToWalletButton.init(_:primaryAccountSuffix:passStyle:cardDetails:description:filters:onRequest:onCompletion:fallback:)
callback cannot propagate synchronous failure
AddPassToWalletButton.init(_:cardholderName:passStyle:primaryAccountSuffix:cardDetails:description:filters:onRequest:onCompletion:)
This Swift callback must itself suspend asynchronously. (nonthrowing, so a rejected promise cannot reach swift)
AddPassToWalletButton.init(_:primaryAccountSuffix:passStyle:cardDetails:description:filters:onRequest:onCompletion:)
This Swift callback must itself suspend asynchronously. (nonthrowing, so a rejected promise cannot reach swift)