title: iOS app doesn't resume after unlocking screen
body: <p>Generally with any app, if i open the app and lock the screen and after an hour or so if i unlock the screen the app re-launches. But my app fails to re-launch or resume. Is there any settings to resume my app or am i missing something?</p>
  
  <pre><code>if (!oprationQueue) {// Application did enter in background method
          oprationQueue = [[NSOperationQueue alloc]  init];
      }
      NSInteger updateSec = [[NH_Fetch_settings alloc] getUpdateTimeInterva];
      bgdataUpdateTimer = [NSTimer scheduledTimerWithTimeInterval:updateSec target:self selector:@selector(updateData:) userInfo:nil repeats:YES];
      NSInteger cleanSec = [[NH_Fetch_settings alloc] cleanupFrequency];
      bgCleanupTimer = [NSTimer scheduledTimerWithTimeInterval:cleanSec target:self selector:@selector(cleapAllData:) userInfo:nil repeats:YES];
  
      [NH_advertisement sharedInstance].isFirstTime = NO;
      [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"advFirst"];
  
  
      backgroundTask_dataUpdate =[[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{
  
          NSLog(@"%f",[UIApplication sharedApplication].backgroundTimeRemaining);
      }];
  
      backgroundTask_cleanUp =[[UIApplication sharedApplication] beginBackgroundTaskWithExpirationHandler:^{
  
          NSLog(@"%f",[UIApplication sharedApplication].backgroundTimeRemaining);
  
      }];    
  }
  
  - (void)applicationWillEnterForeground:(UIApplication *)application{
      [application endBackgroundTask:backgroundTask_dataUpdate];
      backgroundTask_dataUpdate = UIBackgroundTaskInvalid;
      [application endBackgroundTask:backgroundTask_cleanUp];
      backgroundTask_cleanUp = UIBackgroundTaskInvalid;
  
  }
  </code></pre>
  
  <p>The app doesn't throw the resume event after unlocking the screen.
  This Come on log screen</p>
  
  <p><strong>UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action ->  {
      handler = remote;
      info =  {
          (1) = 5;
      };
  }</strong></p>