Structure

PKPassLibraryNotificationKey

Keys in the PKPassLibraryDidChange user info dictionary.

Declaration

struct PKPassLibraryNotificationKey

Topics

Creating a Pass Library Notification Key

init(rawValue: String)

Initialize a pass library notification key based on the provided raw value.

Notification Keys

static let addedPassesUserInfoKey: PKPassLibraryNotificationKey

An array of the PKPass objects that were added.

static let removedPassInfosUserInfoKey: PKPassLibraryNotificationKey

An array of dictionaries describing the passes that were removed.

static let replacementPassesUserInfoKey: PKPassLibraryNotificationKey

An array of the PKPass objects that were replaced.

Relationships

See Also

Notifications

static let PKPassLibraryDidChange: PKPassLibraryNotificationName

Posted after the pass library has been changed.

static let PKPassLibraryRemotePaymentPassesDidChange: PKPassLibraryNotificationName

Posted when an Apple Pay card is added to or removed from a device that is paired with the current iOS device (for example, Apple Watch).

struct PKPassLibraryNotificationName

Types of notifications issued by a pass library instance.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software