title: UILocalnotification not showing in iOS7
body: <p>Maybe I'm missing something but as far as I can tell, I am doing this right. I am trying to schedule a local notification but it seems to never show. I run the app, then hit the home button. In 15 seconds, the badge updates to 1 but I never see an alert.</p>
  
  <p>The code I have in my view controller's viewDidLoad is: </p>
  
  <pre><code>[UIApplication sharedApplication].applicationIconBadgeNumber = 0;
  NSDate *currentDate = [NSDate date];
  NSDate *targetDate = [currentDate dateByAddingTimeInterval:15]; //15 seconds
  UILocalNotification *localNotification = [[UILocalNotification alloc] init];
  localNotification.fireDate = targetDate;
  localNotification.timeZone = [NSTimeZone defaultTimeZone];
  localNotification.alertBody = @"Body!";
  localNotification.alertAction = @"Action!";
  localNotification.soundName = UILocalNotificationDefaultSoundName;
  localNotification.applicationIconBadgeNumber = 1;
  [[UIApplication sharedApplication] scheduleLocalNotification:localNotification];
  </code></pre>
  
  <p>If the app is running, I do indeed get a call to:</p>
  
  <pre><code>-(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
  </code></pre>
  
  <p>Any ideas? As far as I can tell, this is all being handled correctly.</p>