why UIAccessibilityIsGuidedAccessEnabled() always return NO?

拥有回忆 提交于 2020-02-08 03:03:46

问题


In my app, for default behaviour the method UIAccessibilityIsGuidedAccessEnabled() return NO, and that OK. Unfortunately, even when i changed in Settings > Accessibility > Guided Access > Guided Access to YES, it's still return NO. Why is that ?


回答1:


You have not "enabled" it yet. I know it sounds odd, but your app doesn't know about it until you triple tap the home button and start it for your app. Configuring it is not enough. They should have probably had two states, enabled (configured) and activated.



来源:https://stackoverflow.com/questions/36408265/why-uiaccessibilityisguidedaccessenabled-always-return-no

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