How to lock down user to Single App mode in iOS 6, Programmatically?

后端 未结 4 1124
借酒劲吻你
借酒劲吻你 2021-02-06 17:10

There are some question which are related to this,. but getting the exact answer:

Lock-down iPhone/iPod/iPad so it can only run one app

Recently iOS 6 is introdu

4条回答
  •  我寻月下人不归
    2021-02-06 17:47

    The accepted answer to this question is no longer correct:

    Starting with iOS 7, UIKit exposes the function UIAccessibilityRequestGuidedAccessSession as public API.

    I don’t know, but can very well imagine that this function existed as private API dating back to iOS 6, where the guided access feature was introduced.

    Note that for this method to have any effect, the device in question must be supervised using MDM, and the ID of the app you want to use this API must be included in the device management profile deployed to it.

提交回复
热议问题