UIKit.UIGuidedAccessRestriction.GetState Method
Returns the state (allow,deny) for the specified restrictionIdentifier.

Syntax

[ObjCRuntime.iOS(7, 0)]
public static UIGuidedAccessRestrictionState GetState (string restrictionIdentifier)

Parameters

restrictionIdentifier
The identifier of the restriction.

Returns

UIGuidedAccessRestriction.Allow means that the application should allow the behavior. UIGuidedAccessRestriction.Deny means that the application should not allow the behavior.

Remarks

You can enable Guided Access mode by calling UIAccessibility.RequestGuidedAccessSession.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0