Instance Property

deviceName

The name of the device hosting the pass.

Declaration

var deviceName: String { get }

Discussion

If isRemotePass is true, this property contains the name of the paired device storing the pass. Otherwise, it contains the name of the current iOS device.

See Also

Identifying a Pass

var passTypeIdentifier: String

The pass’s type identifier.

var serialNumber: String

A value that uniquely identifies the pass.

var passType: PKPassType

The pass’s type.

enum PKPassType

Types of passes.

var paymentPass: PKPaymentPass?

For passes that represent payment cards, the underlying payment pass.

var localizedName: String

The localized name for the pass’s template.

var localizedDescription: String

The pass’s localized description.

var isRemotePass: Bool

A Boolean value that indicates whether the pass is stored on a device that is paired with the current iOS device (for example, Apple Watch).