I tried to use following predicate to search for events in the Calendar but i'm getting the following exception 'NSInvalidArgumentException', reason: 'predicate was not created with EKCalendarStore methods'
//[_sender objectAtIndex:0] is Name of the event and [_sender objectAtIndex:1] is location of the event NSPredicate *prediction=[NSPredicate predicateWithFormat:@"(SELF contains[cd] %@)", [NSString stringWithFormat: @"%@%@",[_sender objectAtIndex:0],[_sender objectAtIndex:1]]]; NSArray*events=[eventStore eventsMatchingPredicate:prediction];