title: Schedule UILocalNotification everyday at specific time
body: <p>I am using below piece of code to schedule a localnotification at specific time. But the notification is repeating for every minute instead of after one day. Whether i have missed any notification settings. My timezone is <strong>(Asia/Calcutta (IST) offset 19800)</strong> and using iPhone 4s.</p>
  
  <pre><code>- (void)applicationDidEnterBackground:(UIApplication *)application
  {     
      NSCalendar *calendar = [NSCalendar autoupdatingCurrentCalendar] ;
      NSDate *now = [NSDate date];
      NSDateComponents *components = [calendar components:(NSCalendarUnitYear | NSCalendarUnitMonth |  NSCalendarUnitDay | NSCalendarUnitHour | NSCalendarUnitMinute) fromDate:now]; 
      [components setHour:12];
      [components setMinute:00];
  
      UILocalNotification *notification = [[UILocalNotification alloc]init];
      notification.fireDate = [calendar dateFromComponents:components];
      [notification setAlertBody:@"U got notification!!!"];
      // notification.soundName = UILocalNotificationDefaultSoundName;
      [[UIApplication sharedApplication] scheduleLocalNotification:notification]; 
  }
  </code></pre>