- enable
- Determines whether you want to enter (true) enable or leave (false) guided access mode.
- completionHandler
- Method to invoke once the system has successfully transitioned to that state. The method takes a boolean that determines if the transition was successfull.
When an application is running in Guided Access mode, it can prevent the home button from working, and can control other features of the operating system from working.
For this API call to succeed, the application must be Supervised, and the application must have been whitelisted using Mobile Device Management.