1

I was testing the lockdown mode in iOS 16 beta 3 and would like to know whether we can detect the lockdown mode status using any public API that Apple provides.

I really appreciate any help you can provide.

1 Answer 1

2

When Lockdown mode is enabled, LDMGlobalEnabled default is set in NSGlobalDomain. You can query this with

let isLockdownModeEnabled = (UserDefaults.standard.object(forKey: "LDMGlobalEnabled") as? Bool) ?? false
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.