http://support.apple.com/kb/HT5509
是否可以访问此API?可能会将其设置为在应用程序打开时绕过步骤?
答案 0 :(得分:0)
目前,没有。您应该file a radar要求Apple提供API。
答案 1 :(得分:0)
Guided Access in depth at WWDC 2013(从39:26开始)
Check if Guided Access is Enabled(iOS 6+):
UIAccessibilityIsGuidedAccessEnabled()
Respond to Guided Access status changes(iOS 6+):
UIAccessibilityGuidedAccessStatusDidChangeNotification
Add custom restrictions while in Guided Access mode(iOS 7+):
UIGuidedAccessRestrictionDelegate
Getting the restriction state for specified restriction(iOS 7+):
夫特:
func UIGuidedAccessRestrictionStateForIdentifier(_ restrictionIdentifier: String) -> UIGuidedAccessRestrictionState
的OBJ-C
UIGuidedAccessRestrictionState UIGuidedAccessRestrictionStateForIdentifier(NSString *restrictionIdentifier);