Lock and Unlock iOS Device Programmatically



Locking of iOS device cannot be done programmatically without the use of Private API’s. One such private API’s GSEventLockDevice() (private API) from GraphicsServices.framework which might help you achieve your persona but the application would result in rejection from Apple’s App Store.

More over there’s no documentation provided by apple for the same.

On a final note you cannot achieve this functionality without using the Private API’s and if you are using your application will be rejected by Apple.

Updated on: 2019-07-30T22:30:26+05:30

612 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements