PKPassLibrary.GetPasses Method

Definition

Overloads

GetPasses()

The passes in the user's pass library.

GetPasses(PKPassType)

The passes in the user's pass library whose P:PassKit.PKPassType.PassType matches passType.

GetPasses()

The passes in the user's pass library.

[Foundation.Export("passes")]
public virtual PassKit.PKPass[] GetPasses ();
abstract member GetPasses : unit -> PassKit.PKPass[]
override this.GetPasses : unit -> PassKit.PKPass[]

Returns

PKPass[]
Attributes

Applies to

GetPasses(PKPassType)

The passes in the user's pass library whose P:PassKit.PKPassType.PassType matches passType.

[Foundation.Export("passesOfType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual PassKit.PKPass[] GetPasses (PassKit.PKPassType passType);
abstract member GetPasses : PassKit.PKPassType -> PassKit.PKPass[]
override this.GetPasses : PassKit.PKPassType -> PassKit.PKPass[]

Parameters

passType
PKPassType

Returns

PKPass[]
Attributes

Applies to