<!--
{
  "documentType" : "article",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated Symbols"
}
-->

# Deprecated Symbols

Review unsupported symbols and their replacements.

## Topics

### Deprecated Methods

[`func activate(PKPaymentPass, withActivationCode: String, completion: ((Bool, any Error) -> Void)?)`](/documentation/PassKit/PKPassLibrary/activate(_:withActivationCode:completion:))

Activates a payment pass using the provided activation code.

[`func activate(PKPaymentPass, withActivationData: Data, completion: ((Bool, any Error) -> Void)?)`](/documentation/PassKit/PKPassLibrary/activate(_:withActivationData:completion:))

Activates a payment pass using the provided activation code.

[`func canAddPaymentPass(withPrimaryAccountIdentifier: String) -> Bool`](/documentation/PassKit/PKPassLibrary/canAddPaymentPass(withPrimaryAccountIdentifier:))

A Boolean value that indicates whether the app can add a card to Apple Pay for the provided primary account identifier.

[`class func isPaymentPassActivationAvailable() -> Bool`](/documentation/PassKit/PKPassLibrary/isPaymentPassActivationAvailable()-swift.type.method)

Returns a Boolean value that indicates whether the device supports adding payment passes.

[`func isPaymentPassActivationAvailable() -> Bool`](/documentation/PassKit/PKPassLibrary/isPaymentPassActivationAvailable()-swift.method)

Returns a Boolean value that indicates whether the device supports adding payment passes.

[`func present(PKPaymentPass)`](/documentation/PassKit/PKPassLibrary/present(_:)-67jce)

Presents the payment pass for use in-store.

[`func remotePaymentPasses() -> [PKPaymentPass]`](/documentation/PassKit/PKPassLibrary/remotePaymentPasses())

Returns a list of passes from a remote device.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)