Trying to initate guided access from within an iOS6 app?

雨燕双飞 提交于 2019-12-08 10:36:02

问题


We have an iOS6 (iPhone) app we are building in XCode that lists installed apps on the user's device (who have registered URLs) in a list View. Is it possible to make one of the apps in the list open in Guided Access mode (if Guided Access is turned on beforehand)? Basically, we want to bypass the triple click on the home button and make any app in the list open directly to the Guided Access Start Screen.


回答1:


According to Apple,

Guided Access helps students with disabilities such as autism remain on task and focused on content. It allows a parent, teacher, or administrator to limit an iOS device to one app by disabling the Home button, as well as restrict touch input on certain areas of the screen.

It's pretty clear that Apple will forbid launch of other applications.




回答2:


There is no current way to initiate guided access mode via API; the ONLY method is for the user to do it (settings, tripple click home, etc.). Some testing apps say they test (via API call) to insure the app is in guided access mode or they won't run their test. Looking for that API call now.



来源:https://stackoverflow.com/questions/13938571/trying-to-initate-guided-access-from-within-an-ios6-app

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