Skip to content

AuthenticationServices iOS xcode16.0 b2

Rolf Bjarne Kvinge edited this page Jun 27, 2024 · 2 revisions

#AuthenticationServices.framework

Rolf

diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h	2024-05-30 12:43:08
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASSettingsHelper.h	2024-06-18 07:02:58
@@ -14,6 +14,11 @@
 /// Calling this method will open the Settings app and navigate directly to the Verification Code provider settings.
 + (void)openVerificationCodeAppSettingsWithCompletionHandler:(nullable void (^)(NSError * _Nullable error))completionHandler NS_SWIFT_ASYNC_NAME(openVerificationCodeAppSettings());
 
+/// Call this method from your containing app to request to turn on a contained Credential Provider Extension.
+/// If the extension is not currently enabled, a prompt will be shown to allow it to be turned on.
+/// The completion handler is called with YES or NO depending on whether the credential provider is enabled.
++ (void)requestCredentialProviderExtensionEnablementWithCompletionHandler:(void (^)(BOOL appWasEnabledForAutofill))completionHandler;
+
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
 
Clone this wiki locally