-
Notifications
You must be signed in to change notification settings - Fork 575
PassKit iOS xcode27.0 b4
Alex Soto edited this page Jul 23, 2026
·
2 revisions
#PassKit.framework
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h 2026-06-30 01:27:27
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddPassesViewController.h 2026-07-11 09:36:13
@@ -33,6 +33,9 @@
*/
- (nullable instancetype)initWithPass:(PKPass *)pass;
- (nullable instancetype)initWithPasses:(NSArray<PKPass *> *)passes API_AVAILABLE(ios(7.0));
+- (nullable instancetype)initWithPassesData:(NSArray<NSData *> *)passesData API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+- (nullable instancetype)initWithPassesArchiveAtFileURL:(NSURL *)passesArchiveFileURL NS_SWIFT_NAME(init(passesArchiveAt:)) API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
+- (nullable instancetype)initWithPassesArchiveData:(NSData *)passesArchiveData API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(watchos);
- (nullable instancetype)initWithIssuerData:(NSData *)issuerData signature:(NSData *)signature error:(NSError **)error API_AVAILABLE(ios(16.4));
+ (BOOL)canAddPasses API_AVAILABLE(ios(8.0));
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2026-06-30 01:27:26
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKConstants.h 2026-07-11 06:35:48
@@ -55,6 +55,10 @@
extern PKPaymentNetwork const PKPaymentNetworkMyDebit API_AVAILABLE(macos(26.0), ios(26.0), watchos(26.0));
extern PKPaymentNetwork const PKPaymentNetworkConecs API_AVAILABLE(macos(26.2), ios(26.2), watchos(26.2));
extern PKPaymentNetwork const PKPaymentNetworkElCorteIngles API_AVAILABLE(macos(26.4), ios(26.4), watchos(26.4));
+extern PKPaymentNetwork const PKPaymentNetworkRuPay API_AVAILABLE(macos(27.0), ios(27.0), watchos(27.0));
+extern PKPaymentNetwork const PKPaymentNetworkVerve API_AVAILABLE(macos(27.0), ios(27.0), watchos(27.0));
+extern PKPaymentNetwork const PKPaymentNetworkHumo API_AVAILABLE(macos(27.0), ios(27.0), watchos(27.0));
+extern PKPaymentNetwork const PKPaymentNetworkUzCard API_AVAILABLE(macos(27.0), ios(27.0), watchos(27.0));
typedef NSString * PKContactField NS_STRING_ENUM;
extern PKContactField const PKContactFieldPostalAddress API_AVAILABLE(macos(11.0), ios(11.0), watchos(4.0));
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h 2026-06-28 03:12:16
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKDisbursementRequest.h 2026-07-12 23:03:16
@@ -62,6 +62,10 @@
/// delegate and to have the com.apple.developer.in-app-payments-delegate entitlement.
@property (nonatomic, assign) BOOL isDelegatedRequest API_AVAILABLE(ios(26.4), visionos(26.4)) API_UNAVAILABLE(watchos, tvos);
+// An array of primary account identifiers that should be excluded from the disbursement.
+// Used by merchants who are also the card issuer to prevent self-funding scenarios.
+@property (nonatomic, copy) NSArray<NSString *> *unsupportedPrimaryAccountIdentifiers API_AVAILABLE(ios(27.0), watchos(27.0), visionos(27.0));
+
// Initialise a disbursement request with all required fields.
- (instancetype)initWithMerchantIdentifier:(NSString *)merchantIdentifier
currencyCode:(NSString *)currencyCode
diff -ruN /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h
--- /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2026-06-30 00:14:39
+++ /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKPassLibrary.h 2026-07-11 06:49:39
@@ -88,6 +88,21 @@
// called on an arbitrary queue - dispatch to the main queue if you're presenting UI.
- (void)addPasses:(NSArray<PKPass *> *)passes withCompletionHandler:(nullable void(^)(PKPassLibraryAddPassesStatus status))completion API_AVAILABLE(ios(7.0), watchos(3.0));
+// Asks the user whether they want to add the given passes to their library. If the operation
+// completes with `PKPassLibraryShouldReviewPasses`, then present an appropriately initialized
+// `PKAddPassesViewController` so that the user may review the passes.
+- (void)addPassesWithData:(NSArray<NSData *> *)passesData completionHandler:(void (^ NS_SWIFT_SENDABLE)(PKPassLibraryAddPassesStatus))completionHandler NS_SWIFT_NAME(addPasses(data:completion:)) API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos);
+
+// Asks the user whether they want to add the passes from the archive at the given URL to their
+// library. If the operation completes with `PKPassLibraryShouldReviewPasses`, then present an
+// appropriately initialized `PKAddPassesViewController` so that the user may review the passes.
+- (void)addPassesFromArchiveAtFileURL:(NSURL *)passesArchiveFileURL completionHandler:(void (^ NS_SWIFT_SENDABLE)(PKPassLibraryAddPassesStatus))completionHandler NS_SWIFT_NAME(addPasses(fromArchiveAt:completion:)) API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos);
+
+// Asks the user whether they want to add the passes from the given archive to their library. If
+// the operation completes with `PKPassLibraryShouldReviewPasses`, then present an appropriately
+// initialized `PKAddPassesViewController` so that the user may review the passes.
+- (void)addPassesFromArchiveWithData:(NSData *)passesArchiveData completionHandler:(void (^ NS_SWIFT_SENDABLE)(PKPassLibraryAddPassesStatus))completionHandler NS_SWIFT_NAME(addPasses(fromArchiveData:completion:)) API_AVAILABLE(ios(27.0), visionos(27.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos);
+
// Opens the card setup flow (in Wallet on iPhone, Settings on iPad). Use this to direct a user to card setup directly from your app.
- (void)openPaymentSetup API_AVAILABLE(ios(8.3)) __WATCHOS_PROHIBITED;