How to get an events of device lock/unlock button in ios device without using non-public APIs?

169 Views Asked by At

I had already used non-public APIs such as Darvin's Notification and "com.apple.springboard.lockstate" of library for receiving device lock/unlock state. But Apple has rejected this app because it's using above non-public APIs.

Is there any other events to check for device lock/unlock in ios device?

0

There are 0 best solutions below