Disable home button without rebooting device

后端 未结 4 1492
执念已碎
执念已碎 2020-12-30 05:35

I want that after installing my app from an OTA the home button of the device will not work at all so that user is unable to come out from the App. My digging led me to foll

4条回答
  •  滥情空心
    2020-12-30 06:12

    Without jailbreaking, the app is sandboxed. The app simply does not have access to mess with the home button. And you really shouldn't be messing with the home button.

    In addition to "Guided Access", you can also make use of "Restrictions", which will allow you to disable everything accept opening your app. You can disable Apple specific apps including Safari, and prevent users from installing apps, deleting apps, making purchases, etc...

    We have a number of iPod touches with a ticket scanning app we rent out to our customers. We make use of "Restrictions" to disable everything besides our app. The most helpful restriction thus far is preventing people from deleting apps - It's incredible how many people will accidentally delete an app, even after the warning prompt.

提交回复
热议问题