checkAutoFillUserNamesAndPasswordsEnabled(completionHandler:)
Query the value of the Safari settings toggle for AutoFill > User names and passwords
Declaration
class func checkAutoFillUserNamesAndPasswordsEnabled(completionHandler: @escaping @Sendable (Bool, (any Error)?) -> Void)class var isAutoFillUserNamesAndPasswordsEnabled: Bool { get async throws }Parameters
- completionHandler:
The block the system calls after the operation complets, with a boolean parameter representing the toggle value.
- isEnabled
A boolean value representing the current value of the toggle.
- error
An SFSafariSettingsError if any occurred. If non-nil, the value of
isEnabled