sdk - UIEvent for iPhone locking & unlocking? -


I am creating an iPhone app in which I want time user activity. However, while calculating the time the iPhone was locked (or when the user received a phone call) I did not want to calculate that time what is the best way to do it? Is there a UIEvent on which my app can get the iPhone lock or unlock (and can work on)?

find methods applications: and applicationDidBecomeActive: .


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -