【问题标题】:Meraki guided access not working on iPADMeraki 引导式访问无法在 iPad 上运行
【发布时间】:2015-03-21 00:35:11
【问题描述】:

我正在尝试使用“Meraki”MDM 为我的一个应用程序设置单一应用程序模式,在 MDM 网站上注册了该设备并创建了配置文件。

我正在使用本网站建议的以下代码,该代码在模拟器上运行良好,但在 iPad 上运行良好。“UIAccessibilityRequestGuidedAccessSession”未触发。有人可以帮助我在这里缺少什么。

NSLog(@"requesting guided access");
UIAccessibilityRequestGuidedAccessSession(YES, ^(BOOL didSucceed) {
    if (didSucceed) {
        NSLog(@"entered guided access");
        self.inGuidedSessionMode = YES;
        [[[UIAlertView alloc] initWithTitle:@"entered single access mode" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show];
    }
    else {
        NSLog(@"failed to enter guided access");
        [[[UIAlertView alloc] initWithTitle:@"Unable to enter single access mode" message:nil delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil] show];
    }
});

【问题讨论】:

    标签: guided-access


    【解决方案1】:

    这仅在设备为 supervised 时才有效,这是通过 Apple Configurator 或 Apple Device Enrollment Program 完成的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-05-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-15
      相关资源
      最近更新 更多