-
Notifications
You must be signed in to change notification settings - Fork 543
PassKit MacCatalyst xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#PassKit.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h 2025-04-22 22:41:11
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddIdentityDocumentConfiguration.h 2025-05-31 00:02:23
@@ -11,6 +11,12 @@
#import <PassKit/PKAddSecureElementPassConfiguration.h>
+typedef NS_ENUM(NSInteger, PKAddIdentityDocumentType) {
+ PKAddIdentityDocumentTypeIDCard NS_SWIFT_NAME(idCard),
+ PKAddIdentityDocumentTypeMDL NS_SWIFT_NAME(mDL),
+ PKAddIdentityDocumentTypePhotoID
+}; API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos, tvos);
+
API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
@interface PKIdentityDocumentMetadata: NSObject
@@ -30,10 +36,39 @@
/// serverEnvironmentIdentifier: Identifier referencing the target server environment Apple Pay servers should reach out to to provision this pass.
/// If not present, the default Apply Pay server environment will be used and an empty string will be returned.
@property (nonatomic, strong, nonnull) NSString *serverEnvironmentIdentifier;
+/// issuingCountryCode: identifies the issuing country of the identity document
+@property (nonatomic, strong, readonly, nonnull) NSString *issuingCountryCode API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos, tvos);
+///identityDocumentType: identifies the type of the identity document
+@property(nonatomic, readonly) PKAddIdentityDocumentType documentType API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos, tvos);
@end
+API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(watchos, tvos)
+@interface PKAddIdentityDocumentMetadata: PKIdentityDocumentMetadata
+/// Initialize with parameters configured by issuer's server to indicate the specific product instance to provision.
+/// - Properties:
+/// - provisioningCredentialIdentifier: Identifies this user's instance for provisioning.
+/// - sharingInstanceIdentifier: A short lived token to prevent replay-ability.
+/// - cardTemplateIdentifier: An identifier for a legacy product on our Apple Pay servers.
+/// - preview: Object containing information to represent the pass to provision in our UI.
+/// - issuingCountryCode: identifies the issuing country of the identity document
+/// - identityDocumentType: identifies the type of the identity document
+/// - preview: Object containing information to represent the pass to provision in our UI.
+- (nonnull instancetype)initWithProvisioningCredentialIdentifier:(NSString * _Nonnull)credentialIdentifier
+ sharingInstanceIdentifier:(NSString * _Nonnull)sharingInstanceIdentifier
+ cardTemplateIdentifier:(NSString * _Nonnull)templateIdentifier
+ issuingCountryCode:(NSString * _Nonnull)issuingCountryCode
+ documentType:(PKAddIdentityDocumentType)documentType
+ preview:(PKAddPassMetadataPreview * _Nonnull)preview;
+// Display Properties
+
+/// preview: A preview object containing the necessary information to represent the pass during provisioning.
+@property (nonatomic, strong, readonly, nonnull) PKAddPassMetadataPreview *preview;
+
+@end
+
+
API_AVAILABLE(ios(18.0)) API_UNAVAILABLE(watchos, tvos)
@interface PKJapanIndividualNumberCardMetadata: PKIdentityDocumentMetadata
@@ -56,7 +91,7 @@
/// - preview: Object containing information to represent the pass to provision in our UI.
- (nonnull instancetype)initWithProvisioningCredentialIdentifier:(NSString * _Nonnull)credentialIdentifier
sharingInstanceIdentifier:(NSString * _Nonnull)sharingInstanceIdentifier
- cardConfigurationIdentifier:(NSString * _Nonnull)templateIdentifier
+ cardConfigurationIdentifier:(NSString * _Nonnull)cardConfigurationIdentifier
preview:(PKAddPassMetadataPreview * _Nonnull)preview;
// Configuration Properties
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h 2025-04-22 23:05:48
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAddPaymentPassViewController.h 2025-06-01 00:00:13
@@ -23,7 +23,7 @@
@class PKPaymentPass;
API_AVAILABLE(ios(9.0))
-@protocol PKAddPaymentPassViewControllerDelegate<NSObject>
+@protocol PKAddPaymentPassViewControllerDelegate <NSObject>
/* Certificates is an array of NSData, each a DER encoded X.509 certificate, with the leaf first and root last.
* The continuation handler must be called within 20 seconds or an error will be displayed.
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h 2025-04-22 23:05:48
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKAutomaticReloadPaymentRequest.h 2025-06-01 00:00:13
@@ -8,6 +8,8 @@
#ifndef PKAutomaticReloadPaymentRequest_h
#define PKAutomaticReloadPaymentRequest_h
+#import <Foundation/Foundation.h>
+
@class PKAutomaticReloadPaymentSummaryItem;
NS_ASSUME_NONNULL_BEGIN
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2025-04-22 01:39:47
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2025-05-31 00:02:22
@@ -52,6 +52,7 @@
extern PKPaymentNetwork const PKPaymentNetworkBankAxept API_AVAILABLE(macos(14.5), ios(17.5), watchos(10.5));
extern PKPaymentNetwork const PKPaymentNetworkHimyan API_AVAILABLE(macos(15.4), ios(18.4), watchos(11.4));
extern PKPaymentNetwork const PKPaymentNetworkJaywan API_AVAILABLE(macos(15.4), ios(18.4), watchos(11.4));
+extern PKPaymentNetwork const PKPaymentNetworkMyDebit API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0));
typedef NSString * PKContactField NS_STRING_ENUM;
extern PKContactField const PKContactFieldPostalAddress API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
@@ -59,7 +60,6 @@
extern PKContactField const PKContactFieldPhoneNumber API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
extern PKContactField const PKContactFieldName API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
extern PKContactField const PKContactFieldPhoneticName API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
-
typedef NS_ENUM(NSInteger, PKPaymentAuthorizationStatus) {
PKPaymentAuthorizationStatusSuccess, // Merchant auth'd (or expects to auth) the transaction successfully.
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h 2025-04-22 23:05:49
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKDeferredPaymentRequest.h 2025-06-01 00:00:13
@@ -6,6 +6,8 @@
//
+#import <Foundation/Foundation.h>
+
@class PKDeferredPaymentSummaryItem;
NS_ASSUME_NONNULL_BEGIN
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKError.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKError.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2025-04-19 06:15:54
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKError.h 2025-06-01 00:00:13
@@ -67,7 +67,7 @@
typedef NS_ERROR_ENUM(PKAddSecureElementPassErrorDomain, PKAddSecureElementPassErrorCode) {
PKAddSecureElementPassGenericError API_AVAILABLE(ios(18.0)) = 0,
- PKAddSecureElementPassUnknownError API_DEPRECATED("Use PKAddSecureElementPassGeneralError instead.", ios(13.4, 18.0)) = PKAddSecureElementPassGenericError,
+ PKAddSecureElementPassUnknownError API_DEPRECATED("Use PKAddSecureElementPassGenericError instead.", ios(13.4, 18.0)) = PKAddSecureElementPassGenericError,
PKAddSecureElementPassUserCanceledError,
PKAddSecureElementPassUnavailableError,
PKAddSecureElementPassInvalidConfigurationError,
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h 2025-04-22 23:05:48
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityDocumentDescriptor.h 2025-06-01 00:00:13
@@ -47,6 +47,27 @@
@end
+/// Used to request information from a user's photo ID (or equivalent document).
+API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@interface PKIdentityPhotoIDDescriptor: NSObject <PKIdentityDocumentDescriptor>
+
+@end
+
+/// Used to request information from multiple identity documents.
+API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos, watchos, tvos)
+@interface PKIdentityAnyOfDescriptor: NSObject <PKIdentityDocumentDescriptor>
+
+/// Set of requested descriptors for the composite document descriptor.
+@property (nonatomic, readonly) NSArray<id<PKIdentityDocumentDescriptor>> *descriptors;
+
+/// Returns a composite document descriptor with specified descriptors.
+- (instancetype)initWithDescriptors:(NSArray<id<PKIdentityDocumentDescriptor>> *)descriptors NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
NS_ASSUME_NONNULL_END
#else
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h 2025-04-22 23:05:50
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKIdentityElement.h 2025-06-01 00:00:14
@@ -29,6 +29,24 @@
/// The address on record with the issuer.
@property (class, nonatomic, readonly) PKIdentityElement *addressElement;
+/// The user's height on record with the issuer.
+@property (nonatomic, class, readonly) PKIdentityElement *heightElement API_AVAILABLE(ios(26.0));
+
+/// The user's weight on record with the issuer.
+@property (nonatomic, class, readonly) PKIdentityElement *weightElement API_AVAILABLE(ios(26.0));
+
+/// The user's eye color on record with the issuer.
+@property (nonatomic, class, readonly) PKIdentityElement *eyeColorElement API_AVAILABLE(ios(26.0));
+
+/// The user's hair color on record with the issuer.
+@property (nonatomic, class, readonly) PKIdentityElement *hairColorElement API_AVAILABLE(ios(26.0));
+
+/// The user's organ donor status on record with the issuer.
+@property (nonatomic, class, readonly) PKIdentityElement *organDonorStatusElement API_AVAILABLE(ios(26.0));
+
+/// The user's veteran status on record with the issuer.
+@property (nonatomic, class, readonly) PKIdentityElement *veteranStatusElement API_AVAILABLE(ios(26.0));
+
/// The state or government that issued the identity document.
@property (class, nonatomic, readonly) PKIdentityElement *issuingAuthorityElement;
@@ -45,7 +63,7 @@
/// This is also known as the document's "REAL ID status".
@property (class, nonatomic, readonly) PKIdentityElement *documentDHSComplianceStatusElement API_AVAILABLE(ios(17.2));
-/// The doument's number, as defined by the document's issuing authority.
+/// The document's number, as defined by the document's issuing authority.
@property (class, nonatomic, readonly) PKIdentityElement *documentNumberElement;
/// The user's driving privileges.
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2025-04-22 23:36:30
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2025-05-31 23:22:32
@@ -27,6 +27,17 @@
PKAutomaticPassPresentationSuppressionResultSuccess // Suppression of automatic pass presentation was successful
} API_AVAILABLE(ios(9.0), watchos(10.2));
+typedef NS_ENUM(NSInteger, PKPassLibraryCapability) {
+ PKPassLibraryCapabilityBackgroundAddPasses,
+} NS_SWIFT_NAME(PKPassLibrary.Capability) API_AVAILABLE(ios(26.0), watchos(26.0));
+
+typedef NS_ENUM(NSInteger, PKPassLibraryAuthorizationStatus) {
+ PKPassLibraryAuthorizationStatusNotDetermined = -1,
+ PKPassLibraryAuthorizationStatusDenied = 0,
+ PKPassLibraryAuthorizationStatusAuthorized = 1,
+ PKPassLibraryAuthorizationStatusRestricted = 2,
+} NS_SWIFT_NAME(PKPassLibrary.AuthorizationStatus) API_AVAILABLE(ios(26.0), watchos(26.0));
+
typedef NSUInteger PKSuppressionRequestToken;
API_AVAILABLE(ios(6.0), watchos(3.0))
@@ -105,6 +116,12 @@
- (void)encryptedServiceProviderDataForSecureElementPass:(PKSecureElementPass *)secureElementPass completion:(void(^)(NSDictionary * _Nullable encryptedServiceProviderData, NSError* _Nullable error))completion NS_SWIFT_NAME(encryptedServiceProviderData(for:completion:)) API_AVAILABLE(ios(16.0), watchos(9.0));
// Returns custom data for a given secure element pass, if supported by that pass
- (void)serviceProviderDataForSecureElementPass:(PKSecureElementPass *)secureElementPass completion:(void(^)(NSData * _Nullable serviceProviderData, NSError* _Nullable error))completion NS_SWIFT_NAME(serviceProviderData(for:completion:)) API_AVAILABLE(ios(15.0), watchos(8.0));
+
+// Check TCC authorization for capability
+- (PKPassLibraryAuthorizationStatus)authorizationStatusForCapability:(PKPassLibraryCapability)capability API_AVAILABLE(ios(26.0), watchos(26.0));
+
+// Request authorization for capability, saved in TCC
+- (void)requestAuthorizationForCapability:(PKPassLibraryCapability)capability completion:(void (^)(PKPassLibraryAuthorizationStatus status))completion API_AVAILABLE(ios(26.0), watchos(26.0));
@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h 2025-04-22 23:05:48
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayLaterValidator.h 2025-06-01 00:00:13
@@ -10,6 +10,7 @@
#define __PKPAYLATERVALIDATOR_H
#import <TargetConditionals.h>
+#import <Foundation/Foundation.h>
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h 2025-04-22 23:05:50
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPayment.h 2025-06-01 00:00:14
@@ -9,6 +9,7 @@
#define __PKPAYMENT_H
#import <TargetConditionals.h>
+#import <Foundation/Foundation.h>
#if TARGET_OS_IOS && !TARGET_OS_MACCATALYST && __has_include(<AddressBook/ABRecord.h>)
#import <AddressBook/ABRecord.h>
@@ -51,6 +52,7 @@
// The shipping method that the user chose. This property is only set when the
// application has set the shippingMethods property of the PKPaymentRequest.
@property (nonatomic, strong, readonly, nullable) PKShippingMethod *shippingMethod;
+
@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2025-04-22 23:36:31
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationController.h 2025-05-30 23:25:13
@@ -91,6 +91,7 @@
didSelectShippingMethod:(PKShippingMethod *)shippingMethod
handler:(void (^)(PKPaymentRequestShippingMethodUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0)) NS_SWIFT_UI_ACTOR;
+
- (void)paymentAuthorizationController:(PKPaymentAuthorizationController *)controller
didSelectShippingContact:(PKContact *)contact
handler:(void (^)(PKPaymentRequestShippingContactUpdate *requestUpdate))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0)) NS_SWIFT_UI_ACTOR;
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2025-04-22 22:41:12
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewController.h 2025-05-31 23:22:32
@@ -54,7 +54,7 @@
// Determine whether this device can process payment requests.
// YES if the device is generally capable of making in-app payments.
// NO if the device cannot make in-app payments or if the user is restricted from authorizing payments.
-+ (BOOL)canMakePayments;
++ (BOOL)canMakePayments NS_SWIFT_NONISOLATED;
// Determine whether this device can process payment requests using specific payment network brands.
// Your application should confirm that the user can make payments before attempting to authorize a payment.
@@ -64,11 +64,11 @@
// by the merchant.
// NO if the user cannot authorize payments on these networks or if the user is restricted from
// authorizing payments.
-+ (BOOL)canMakePaymentsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks;
++ (BOOL)canMakePaymentsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NONISOLATED;
// Determine whether this device can process payments using the specified networks and capabilities bitmask
// See -canMakePaymentsUsingNetworks:
-+ (BOOL)canMakePaymentsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks capabilities:(PKMerchantCapability)capabilties API_AVAILABLE(macos(11.0), ios(9.0));
++ (BOOL)canMakePaymentsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks capabilities:(PKMerchantCapability)capabilties API_AVAILABLE(macos(11.0), ios(9.0)) NS_SWIFT_NONISOLATED;
// The view controller's delegate.
@property (nonatomic, weak, nullable) id<PKPaymentAuthorizationViewControllerDelegate> delegate;
@@ -79,14 +79,14 @@
- (nullable instancetype)initWithPaymentRequest:(PKPaymentRequest *)request NS_DESIGNATED_INITIALIZER;
// Determine whether this device can process disbursement requests.
-+ (BOOL)supportsDisbursements API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
++ (BOOL)supportsDisbursements API_AVAILABLE(ios(17.0), macos(15.0)) NS_SWIFT_NONISOLATED API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
// Determine whether this device can process disbursement requests using specific payment network brands.
-+ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NAME(supportsDisbursements(using:)) API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
++ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks NS_SWIFT_NONISOLATED NS_SWIFT_NAME(supportsDisbursements(using:)) API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
// Determine whether this device can process disbursements to cards using the specified networks and capabilities bitmask.
+ (BOOL)supportsDisbursementsUsingNetworks:(NSArray<PKPaymentNetwork> *)supportedNetworks
- capabilities:(PKMerchantCapability)capabilities NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
+ capabilities:(PKMerchantCapability)capabilities NS_SWIFT_NONISOLATED NS_SWIFT_NAME(supportsDisbursements(using:capabilities:)) API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
// Initialize the controller with a request to send money to a user.
- (instancetype)initWithDisbursementRequest:(PKDisbursementRequest *)request API_AVAILABLE(ios(17.0), macos(15.0)) API_UNAVAILABLE(tvos) API_UNAVAILABLE(watchos);
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2025-04-22 23:36:32
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentAuthorizationViewControllerDelegate.h 2025-05-31 23:22:33
@@ -85,6 +85,7 @@
didSelectShippingMethod:(PKShippingMethod *)shippingMethod
handler:(void (^)(PKPaymentRequestShippingMethodUpdate *update))completion API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
+
// Sent when the user has selected a new shipping address. The delegate should inspect the
// address and must invoke the completion block with an updated array of PKPaymentSummaryItem objects.
//
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h 2025-04-22 23:05:49
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentButton.h 2025-06-01 00:00:14
@@ -34,6 +34,11 @@
- (instancetype)initWithPaymentButtonType:(PKPaymentButtonType)type paymentButtonStyle:(PKPaymentButtonStyle)style API_AVAILABLE(macos(11.0), ios(9.0)) NS_DESIGNATED_INITIALIZER;
++ (instancetype)buttonWithType:(PKPaymentButtonType)buttonType style:(PKPaymentButtonStyle)buttonStyle disableCardArt:(BOOL)disableCardArt API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos) NS_SWIFT_UNAVAILABLE("Not available on macOS");
+
+- (instancetype)initWithPaymentButtonType:(PKPaymentButtonType)type paymentButtonStyle:(PKPaymentButtonStyle)style disableCardArt:(BOOL)disableCardArt API_AVAILABLE(ios(26.0)) API_UNAVAILABLE(macos) NS_SWIFT_NAME(init(type:style:disableCardArt:));
+
+
@property (nonatomic, assign) CGFloat cornerRadius API_AVAILABLE(macos(11.0), ios(12.0));
@end
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2025-04-22 23:30:47
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequest.h 2025-05-30 06:26:31
@@ -104,6 +104,11 @@
// identifiers in the application's entitlement.
@property (nonatomic, copy) NSString *merchantIdentifier;
+// An indentifier which should be used by partners that support "inline provisioning" (the
+// addition of a Wallet pass without leaving a third-party app). The identifier can be used to
+// identify the partner whose app experience has lead to the successful provisioning.
+@property (nonatomic, copy, nullable) NSString *attributionIdentifier API_AVAILABLE(ios(26.0));
+
// The merchant's ISO country code.
@property (nonatomic, copy) NSString *countryCode;
@@ -156,6 +161,7 @@
// Shipping methods supported by the merchant.
@property (nonatomic, copy, nullable) NSArray<PKShippingMethod *> *shippingMethods;
+
// Indicates the display mode for the shipping (e.g, "Pick Up", "Ship To", "Deliver To"). Localized.
// The default is PKShippingTypeShipping
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h 2025-04-22 23:30:46
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKPaymentRequestStatus.h 2025-05-30 06:26:30
@@ -40,6 +40,7 @@
@end
+
API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0))
@interface PKPaymentRequestUpdate : NSObject
@@ -107,6 +108,7 @@
@interface PKPaymentRequestShippingMethodUpdate : PKPaymentRequestUpdate
@end
+
API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0))
@interface PKPaymentRequestPaymentMethodUpdate : PKPaymentRequestUpdate
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h 2025-04-22 23:05:49
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PKRecurringPaymentRequest.h 2025-06-01 00:00:14
@@ -9,6 +9,8 @@
#ifndef PKRecurringPaymentRequest_h
#define PKRecurringPaymentRequest_h
+#import <Foundation/Foundation.h>
+
@class PKRecurringPaymentSummaryItem;
NS_ASSUME_NONNULL_BEGIN
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2025-04-22 01:39:46
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/PassKit.framework/Headers/PassKit.h 2025-05-31 23:22:30
@@ -183,3 +183,5 @@
#import <PassKit/PKPayLaterValidator.h>
#endif
#endif // TARGET_OS_IOS && !TARGET_OS_MACCATALYST
+#import <PassKit/PKPassRelevantDate.h>
+#import <PassKit/PKPaymentAuthorizationViewControllerDelegate.h>