title: adding event does not show up in iPhone calendar
body: <p>Trying programistically add an event to iPhone calendar.
  I get no errors, however, nothing gets added to the calendar either. 
  savedEventId(below) returns (null)
  here is the code:</p>
  
  <p>Methods</p>
  
  <p>Adding event :</p>
  
  <pre><code>if(accessGranted){
  EKEvent *event = [EKEvent eventWithEventStore:store];
  event.startDate =[NSDate date];
  event.endDate = [event.startDate dateByAddingTimeInterval:60*60]; 
  [event setCalendar:[store defaultCalendarForNewEvents]];
  NSError *err = nil;
  [store saveEvent:event span:EKSpanThisEvent commit:YES error:&amp;err];
  NSString *savedEventId = event.eventIdentifier;
  }
  </code></pre>
  
  <p>getting access to calendar</p>
  
  <p>in viewDidLoad:</p>
  
  <pre><code>store = [[EKEventStore alloc] init];
  accessGranted=FALSE;
  [self.store requestAccessToEntityType:EKEntityTypeEvent completion:^(BOOL granted, NSError *error) {
          accessGranted=TRUE;
      }];
  </code></pre>
  
  <p>in .h file</p>
  
  <pre><code>    #import &lt;EventKit/EventKit.h&gt;
  
      @interface
  
      EKEventStore *store;
      BOOL accessGranted;
  
      @property(nonatomic, retain) EKEventStore *store;
  </code></pre>
  
  <p>in .m file</p>
  
  <pre><code>@synthesize store; 
  </code></pre>