0

Phone lock

darwinNotification name = com.apple.springboard.lockcomplete
darwinNotification name = com.apple.springboard.lockstate

Phone unlock

darwinNotification name = com.apple.springboard.lockstate

When i lock the the phone it prints both. why is that?

Wain
  • 118,658
  • 15
  • 128
  • 151
  • Simple. It posts `lockcomplete` because locking has completed, but it will always post `lockstate` when the state of lock changes. if it existed, you might consider that on unlocking it would post `unlockcomplete` – Takarii Feb 12 '16 at 09:50
  • how to call a method that is defined in ViewController.m recursively from AppDelegate.m? – NakulBharadwaj Feb 12 '16 at 12:31
  • That sounds like an unrelated question. Raise it as an actual question for an naswer – Takarii Feb 12 '16 at 13:10

0 Answers0