title: EKCalendar remains in calendar app after deleting app
body: <p>I am working on an application that uses EKEventStore and EKCalendar.</p>
  
  <p>The EKEventStore is a static: </p>
  
  <pre><code>static EKEventStore *eventStore = nil;
  </code></pre>
  
  <p>I then use the following method to see if the user allows me access to their calendar.</p>
  
  <pre><code>- (void)requestAccess:(void (^)(BOOL granted, NSError *error))callback;
  {
      if (eventStore == nil) {
          eventStore = [[EKEventStore alloc] init];
      }
      // request permissions
      [eventStore requestAccessToEntityType:EKEntityTypeEvent completion:callback];
  
      //EKCalendar *calendar = nil;
       NSString *calendarIdentifier = [[NSUserDefaults standardUserDefaults] valueForKey:calendarIdentifer];
      if (calendarIdentifier) {
          self.calendar = [self retrieveCalendar];
      }
  
  }
  </code></pre>
  
  <p>After this I am able to create a new calendar and save my event. However if I delete the application the calendar remains in the calendar app. When I run the app I am creating a new EKEventStore and that means I am also creating a new calendar.</p>
  
  <p>This means that if I delete the app and reinstall multiple times I end up with a huge list of the same calendars with only the newest being accessible to me in the app. Is it possible to delete the calendar when the app is deleted. Or is there something I can do to access the previous calendar that was created.</p>
  
  <p>Any help much appreciated.</p>