Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can i use "com.apple.springboard.lockcomplete" notification?

Tags:

ios

I am trying to find device lock state as UIApplicationState gives the wrong state when Lock the device, it gives UIApplicationStateActive for few second.

I found one solution using Darwin notifications for notification "com.apple.springboard.lockcomplete".

Is it the correct way to get Lock state? Does Apple allow this?

like image 658
Santosh Singh Avatar asked Sep 12 '16 11:09

Santosh Singh


1 Answers

No Apple won't allow to use "com.apple.springboard.lockcomplete".My application get rejected due to this.

like image 196
V V Avatar answered Sep 21 '22 19:09

V V