How can i identify whether iphone is locked or not
<p>How can i identify whether iphone is locked or not. </p>

<ul>
<li>(void)applicationWillResignActive:(UIApplication *)application
fires in all cases that while receiving sms , phone call</li>
</ul>

<p>But i want to isolate lock event only.</p>

<p>Is there any possible to identify lock event alone?</p>
