Upravit

Sdílet prostřednictvím


PKPassLibrary.CanAddPaymentPass(String) Method

Definition

Whether the app can add a card to Apple Pay for primaryAccountIdentifier.

[Foundation.Export("canAddPaymentPassWithPrimaryAccountIdentifier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool CanAddPaymentPass (string primaryAccountIdentifier);
abstract member CanAddPaymentPass : string -> bool
override this.CanAddPaymentPass : string -> bool

Parameters

primaryAccountIdentifier
String

Returns

Attributes

Applies to