title: how to repeat local notification after 14 days in iOS 8 & 9
body: <p>The code to register for notifications is:   </p>
  
  <pre><code>   UIUserNotificationType types = UIUserNotificationTypeBadge | UIUserNotificationTypeSound | UIUserNotificationTypeAlert;
          UIUserNotificationSettings *mySettings = [UIUserNotificationSettings settingsForTypes:types categories:nil];
          [[UIApplication sharedApplication] registerUserNotificationSettings:mySettings];
  </code></pre>
  
  <p>And the code to schedule the notification:</p>
  
  <pre><code>UILocalNotification *notification = [[UILocalNotification alloc] init];
  [self setNotificationTypesAllowed];
  if (notification)
  {
      if (allowNotif)
      {
          notification.timeZone = [NSTimeZone defaultTimeZone];
          if ( [statusString isEqualToString:@"daily"]) {
              notification.fireDate = _timePick.date;
  
                  notification.repeatInterval = NSCalendarUnitDay;
          }else if ( [statusString isEqualToString:@"weekly"]) {
              notification.fireDate = _timePick.date;
  
                  notification.repeatInterval = NSCalendarUnitWeekOfYear;
  
          }else if ( [statusString isEqualToString:@"fortnightly"]) {
              notification.fireDate = [NSDate dateWithTimeIntervalSinceNow:60*60*24*14];;
              notification.repeatInterval = NSCalendarUnitMinute;
  
              //notification.repeatInterval = NSCalendarUnitYear;
          }else{
                  notification.repeatInterval = 0;
          }
      }
      if (allowsAlert)
      {
          notification.alertBody = [NSString stringWithFormat:@"Do you really want to send message to %@",name];
      }
      if (allowsBadge)
      {
  
          notification.applicationIconBadgeNumber = [[UIApplication sharedApplication] applicationIconBadgeNumber] + 1;
      }
      if (allowsSound)
      {
          notification.soundName = UILocalNotificationDefaultSoundName;
      }
      notification.alertAction = @"Yes";
      notification.timeZone = [NSTimeZone defaultTimeZone];
      [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showSMS) name:@"showSMS" object:nil];
  
      // this will schedule the notification to fire at the fire date
      [[UIApplication sharedApplication] scheduleLocalNotification:notification];
  </code></pre>
  
  <p>I am able to repeat local notification daily &amp; weekly but it is not repeating fortnightly ,please help</p>