I know how to implement guided access mode manually from the settings app. I have a requirement to lock ios device to one app. So for example parent can lock his child to one app in iphone device so he can not use any other apps in his device.
I have to implement this functionality programmatically? Do any one know how to install configuration profile and mdm profile programmatically so after doing this we will only have to write just one line of code
UIAccessibilityRequestGuidedAccessSession(true) { success in
print("Request guided access success \(success)")
}
to enable guided access mode. Any one have any idea to implement that type of functionality please tell me? Thanks