title: Past Events Cannot displayed In Calendar Programmatically
body: <p>I am using following  code for past events.Please tell me the Solution for Past Events</p>
  
  <pre><code>NSDate* endDate =  [NSDate dateWithTimeIntervalSinceNow:[[NSDate distantFuture] timeIntervalSinceReferenceDate]];
  NSPredicate *fetchCalendarEvents = [store predicateForEventsWithStartDate:[NSDate distantPast] endDate:endDate calendars:nil];
  NSArray *eventList = [store eventsMatchingPredicate:fetchCalendarEvents];
  NSLog(@"allevent:%@",eventList);
  </code></pre>