Skip to content

PassKit iOS xcode13.0 beta2

Rachel Kang edited this page Jul 29, 2021 · 3 revisions

#PassKit.framework https://github.com/xamarin/xamarin-macios/pull/12299

diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h	2021-06-02 12:45:45.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PassKit.framework/Headers/PKAddShareablePassConfiguration.h	2021-06-22 17:35:24.000000000 -0400
@@ -22,14 +22,15 @@
                                                  ownerDisplayName:(NSString *)ownerDisplayName
                                              localizedDescription:(NSString *)localizedDescription;
 
-- (nullable instancetype)initWithProvisioningCredentialIdentifier:(NSString *)credentialIdentifier
-                                        sharingInstanceIdentifier:(NSString *)sharingInstanceIdentifier
-                                               passThumbnailImage:(CGImageRef)passThumbnailImage
-                                                 ownerDisplayName:(NSString *)ownerDisplayName
-                                             localizedDescription:(NSString *)localizedDescription
-                                                      accountHash:(NSString *)accountHash
-                                               templateIdentifier:(NSString *)templateIdentifier
-                                           relyingPartyIdentifier:(NSString *)relyingPartyIdentifier
+- (instancetype)initWithProvisioningCredentialIdentifier:(NSString *)credentialIdentifier
+                               sharingInstanceIdentifier:(NSString *)sharingInstanceIdentifier
+                                      passThumbnailImage:(CGImageRef)passThumbnailImage
+                                        ownerDisplayName:(NSString *)ownerDisplayName
+                                    localizedDescription:(NSString *)localizedDescription
+                                             accountHash:(NSString *)accountHash
+                                      templateIdentifier:(NSString *)templateIdentifier
+                                  relyingPartyIdentifier:(NSString *)relyingPartyIdentifier
+                      requiresUnifiedAccessCapableDevice:(BOOL)requiresUnifiedAccessCapableDevice
 API_AVAILABLE(ios(15.0), watchos(8.0));
 
 @property (nonatomic, strong, readonly) NSString *credentialIdentifier;
@@ -38,6 +39,7 @@
 @property (nonatomic, strong, readonly) NSString *accountHash API_AVAILABLE(ios(15.0), watchos(8.0)); 
 @property (nonatomic, strong, readonly) NSString *templateIdentifier API_AVAILABLE(ios(15.0), watchos(8.0));
 @property (nonatomic, strong, readonly) NSString *relyingPartyIdentifier API_AVAILABLE(ios(15.0), watchos(8.0));
+@property (nonatomic, assign, readonly) BOOL requiresUnifiedAccessCapableDevice;
 
 @property (nonatomic, readonly) CGImageRef passThumbnailImage CF_RETURNS_NOT_RETAINED;
 
Clone this wiki locally