iOS (Apple): Is there any way for the application to ask the OS to block the device in that application?

隐身守侯 提交于 2019-12-05 18:37:25

What your asking is there any type of kiosk mode for iOS devices.

The short answer in no. The longer answer is if you're using a Jail broken device you might be able to relaunch the app on exit, but it would take significant R&D.

I hade a client ask about this last week, after some investigation and thinking I told her,

It's best to look for a case that blocks the home button. Or some kind of security bracket. It'll be cheaper and easier.

Also any App you create with this functionality would be rejected form the App store.

If your looking for advice on programming Jail broken devices there is a Stack Exchange proposal you can follow.

Supposedly there's a way to have a "kiosk" mode with a .mobileconfig file. Both of these articles talk about it, basically covering the same territory:

http://joris.kluivers.nl/blog/2012/03/02/kiosk-mode-for-ios/

http://rick-hawkins.blogspot.ca/2012/01/turning-ipad-into-kiosk-device.html

I was looking into this again and found out that iOS already supports the feature. It is called Guided Access, it was incorporated on iOS 6, it does not require jailbreak and can be used for any app installed on the device.

It makes sense, but I don't think you can do that without jailbreaking the phone. In iOS, the home button cannot be overridden by applications. Besides there is cheaper hardware out there for kiosk-style applications.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!