Share via


PKPassLibrary.Replace(PKPass) Method

Definition

Replaces an existing pass with pass.

[Foundation.Export("replacePassWithPass:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool Replace(PassKit.PKPass pass);
[<Foundation.Export("replacePassWithPass:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Replace : PassKit.PKPass -> bool
override this.Replace : PassKit.PKPass -> bool

Parameters

pass
PKPass

Returns

Attributes

Applies to