-
Notifications
You must be signed in to change notification settings - Fork 515
LocalAuthenticationEmbeddedUI iOS xcode14.0 beta1
Manuel de la Pena edited this page Aug 6, 2022
·
2 revisions
#LocalAuthenticationEmbeddedUI.framework ##mandel
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LAPresentationContext.h 2022-05-25 21:44:37.000000000 -0400
@@ -0,0 +1,9 @@
+//
+// Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+/// @brief Container used for authorization UI.
+typedef UIWindow *LAPresentationContext;
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LARight+UI.h 2022-05-31 14:51:52.000000000 -0400
@@ -0,0 +1,26 @@
+//
+// Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <LocalAuthentication/LocalAuthentication.h>
+#import <LocalAuthenticationEmbeddedUI/LAPresentationContext.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// @brief Groups methods that control aspects of the UI used for authorizing a right
+API_AVAILABLE(macos(13.0), ios(16.0)) API_UNAVAILABLE(watchos, tvos)
+@interface LARight (UI)
+
+/// @brief Tries to authorize the right.
+/// @param localizedReason Localized explanation for the authorization. Appears in the UI presented to the user.
+/// @param presentationContext Container where the authorization UI will be presented.
+/// @param handler Completion handler called after the authorization finishses. Returns an error when the authorization fails.
+- (void)authorizeWithLocalizedReason:(NSString *)localizedReason
+ inPresentationContext:(LAPresentationContext)presentationContext
+ completion:(void (^)(NSError *_Nullable))handler
+NS_SWIFT_NAME(authorize(localizedReason:in:completion:));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/LocalAuthenticationEmbeddedUI.framework/Headers/LocalAuthenticationEmbeddedUI.h 2022-05-25 21:44:37.000000000 -0400
@@ -0,0 +1,6 @@
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <LocalAuthenticationEmbeddedUI/LAPresentationContext.h>
+#import <LocalAuthenticationEmbeddedUI/LARight+UI.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status