I am trying to create an application that will add events to the default calendar in iOS 7. First I added the framework: EventKit.Framework and imported it into my .m
this is my code:
- (void)AddEventToCalendar { EKEventStore *eventStore = [[EKEventStore alloc] init]; EKEvent *event = [EKEvent eventWithEventStore:eventStore];
but he gives me this error when I run it on my iPhone
Domain Error = EKCADErrorDomain Code = 1013 "Operation could not be completed (EKCADErrorDomain error 1013.)"
Do you know what I can do?
r4id4 source share