Class ISN_Accessibility
Make your apps accessible to everyone, including people with disabilities.
Inheritance
Inherited Members
Namespace: SA.iOS.UIKit
Assembly: cs.temp.dll.dll
Syntax
public static class ISN_Accessibility
Properties
UIAccessibilityIsGuidedAccessEnabled
Returns a Boolean value indicating whether the app is running in Guided Access mode.
Declaration
public static bool UIAccessibilityIsGuidedAccessEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
UIAccessibilityRequestGuidedAccessSession(Boolean, Action<SA_Result>)
Transitions the app to or from Single App mode asynchronously.
You can use this method to lock your app into Single App mode and to release it from that mode later. For example, a test-taking app might enter this mode at the beginning of a test and exit it when the user completes the test. Entering Single App mode is supported only for devices that are supervised using Mobile Device Management (MDM), and the app itself must be enabled for this mode by MDM. You must balance each call to enter Single App mode with a call to exit that mode.
Because entering or exiting Single App mode might take some time,
this method executes asynchronously and notifies you of the results using the
Declaration
public static void UIAccessibilityRequestGuidedAccessSession(bool enable, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enable | Specify |
Action<SA_Result> | callback | The block that notifies your app of the success or failure of the operation. |