My application asks users to manually enter a session Guided Access. Is there a way using public APIs that I can detect when the home button is turned off by manually entering a managed access session and then at the same time when it is turned on again?
Guided Access
API
I found this! "Managed access" ensures that the "Home" button is disabled, so it will work for this. Unable to detect lock button.
NSLog(@"Accessibility enabled: %@", UIAccessibilityIsGuidedAccessEnabled() ? @"YES" : @"NO");