public void GetState() { if (!TestRuntime.CheckSystemAndSDKVersion(7, 0)) { Assert.Inconclusive("Requires iOS7 or later"); } Assert.That(UIGuidedAccessRestriction.GetState(null), Is.EqualTo(UIGuidedAccessRestrictionState.Allow), "null"); }
public void GetState() { TestRuntime.AssertSystemVersion(PlatformName.iOS, 7, 0, throwIfOtherPlatform: false); Assert.That(UIGuidedAccessRestriction.GetState(null), Is.EqualTo(UIGuidedAccessRestrictionState.Allow), "null"); }