Is there a way to check if the iOS device is locked/unlocked?

Apps are not allowed to listen to device lock notifications now!.

I had receive this:

Dear developer,

We have discovered one or more issues with your recent submission for “xxxx”. To process your submission, the following issues must be corrected:

Unsupported operation – Apps are not allowed to listen to device lock notifications.

Once these issues have been corrected, use Xcode or Application Loader to upload a new binary to iTunes Connect. Choose the new binary on the app’s Details page in My Apps on iTunes Connect, and click Submit for Review.

Regards,

The App Store team
April 26 2017 at 10:56

Leave a Comment