title: can we check applicationwillresignActive in iphone simulator?
body: <pre><code>- (void)applicationWillResignActive:(UIApplication *)application {
      NSLog(@"resigning active status...");
  }
  </code></pre>
  
  <p>i have tried hardware-lock in iphone simulator but this isn't called. I do want to call it in another UIviewcontroller class not in the appdelegate itself.I also added  in the viewController's header File.</p>