禁用主页按钮 [英] Disable Home Button
问题描述
我知道之前已经问过这个问题但是我想禁用内部应用程序的主页按钮,该应用程序将在iPad内部分发。
I know this has been asked previously however I would like to disable the home button for an in-house app which will be distributed internally across iPads.
我在这里和谷歌都搜索了一个解决方案,并希望阻止用户将应用程序置于后台。我已经看到一个似乎在iOS 4.0下不起作用的解决方案,当按下主页按钮时再次打开应用程序。
I have searched for a solution both on here and Google and would like to stop users from putting the app into the background. I have seen one solution which doesn't seem to work under iOS 4.0 which opens the app up again when the home button is pressed.
我可以使用任何私有用于执行此操作的API,因为这是一个内部应用程序,Apple将不会对App Store进行审核吗?
Could I make use of any private APIs to do this seeing as this is an internal app and won't be reviewed by Apple for the App Store?
谢谢
推荐答案
我不知道为什么这么多被投票,这对内部企业应用来说是一个完全合法的用例。信息亭,POS等。
I don't know why this is down voted so much it is a perfectly legit use case for an internal enterprise application. Kiosks, POS etc.
无论如何,任何想知道如何做到这一点的人都应该在这里看到我的回答锁定iPhone / iPod / iPad所以它只能运行一个应用程序
Anyway anyone wanting to know how to do this should see my answer here Lock-down iPhone/iPod/iPad so it can only run one app
这篇关于禁用主页按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!