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?