I am trying to implement an App for parents and a child App. One of my requirement is to lock the screen of the Child device while clicking a button on the app installed in parent iPhone. I saw some apps in the store implementing this feature. How can we achieve this programatically
There is no supported mechanism for explicitly locking a device. However, you may be able to make some progress using one of the various single app modes supported by iOS. You can find a list of these in this thread. Be aware, however, that all of these approches have various restrictions.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"