Questions tagged [ekevent]

A class in the iOS Event Kit Framework that allows an instance of it to represent an event from a calendar.

A class in the iOS Event Kit Framework () that allows an instance of it to represent an event from a calendar.

Available in iOS 4.0 () and later.

285 questions
4
votes
1 answer

How can I display the details of a EKEvent invitation within my app using EKEventViewController?

BRIEF SUMMARY I want the users of my app to be able to accept/decline an event invitation of their calendar. For this I am trying to bring up the event using EventKitUI components and allow the user to update the event without leaving my app. The…
PMT
  • 1,082
  • 8
  • 18
4
votes
2 answers

How to set specific alarm in EKEvent in ios calendar?

In EKEvent, once i haven't set any alarm to event then i check in calendar app and it show me alert before 5 min. why ? i did not understand it. my requirement i want to set two alert, 1 alert on before given specific time like "5 minute, 15…
hardik
  • 199
  • 1
  • 6
  • 21
4
votes
2 answers

EKEventStore requestAccessToEntityType crashing app in iOS 10 and above

I have app in which I have to add events in default calendar which worked fine until iOS 10. Now in iOS 10 it is not granting access. I have set use legacy swift language version to yes. My code is let eventStore = EKEventStore() switch…
Max
  • 2,269
  • 4
  • 24
  • 49
4
votes
1 answer

Error loading default properties for object x-apple-eventkit

Help to create and save events it Icloud calendar. After saving i have error : Error loading default properties for object x-apple-eventkit:///Alarm/p252 from daemon: Error Domain=EKCADErrorDomain Code=1010 "(null)" Error loading to-one relation…
4
votes
0 answers

HTML or hyperlink in EKEvent notes

I am on iOS7/8 trying to place a hyperlink in the "notes" property of an EKEvent for the calendar. Is it possible somehow (display HTML in the notes or any other way)? Alternatively can I somehow set a clickable placeholder to the URL in the "URL"…
4
votes
2 answers

How to get a "Done" or "Back" button in an EKEventViewController when no having a navigation bar?

I have a list of calendar events in my iOS app, that is to be opened in an EKEventViewController when clicked. Here is my code: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { EKEventViewController…
Jambaman
  • 741
  • 9
  • 22
4
votes
2 answers

EKEvent incorrect date when allday is set

If today is Tuesday 2PM May 6th event.startDate = [[NSDate alloc] init]; event.allDay = YES; [dateFormat setDateFormat:EEEE, MMMM dd, yyyy]; NSString* dayStr = [dateFormat stringFromDate:event.startDate]; timeDetails.text = [NSString…
kos
  • 1,357
  • 9
  • 21
4
votes
1 answer

How to identify if an EKEvent has an EKParticipationStatus of pending (Not yet accepted)?

I have already tried the if ([event participationStatus] == EKParticipantStatusPending) and it is working. But the participationStatus of the EKEvent is not exposed and I'm afraid to use it as maybe it will result in a rejection because of a…
Raymond Brion
  • 332
  • 1
  • 10
4
votes
3 answers

why eventsMatchingPredicate returns nil?

Here's my code: NSString * calID = [[NSUserDefaults standardUserDefaults] objectForKey:@"calendarIdentifier"]; EKCalendar *cal = [eventStore calendarWithIdentifier:calID]; // If calendar exists if(cal) { // Retrieve all existing events until…
OneZero
  • 11,556
  • 15
  • 55
  • 92
4
votes
2 answers

EKEvent is not added according to given EKRecurrenceRule

I'm trying to add an event into calendar with recurrence rule RRULE:FREQ=YEARLY;BYMONTH=6,7;BYDAY=1TH So according to this rule the event should be added yearly, each 1st thursday of june and july until expire date, which I've set in my project. In…
shuvo
  • 705
  • 5
  • 15
4
votes
6 answers

How set no alarm in EKEvent in calendar

when i create a new EKEvent for a calendar i notice that automatically add an alarm ad 9 of the event day, how i can set no alarm? i have tried in this way: EKEvent *event = [EKEvent eventWithEventStore:eventStore]; event.titile = @"This is an…
Piero
  • 9,173
  • 18
  • 90
  • 160
4
votes
1 answer

Responding to "cancel" or "Done" in EKEventEditViewController

I'm using a EKEventEditViewController which I'm able to populate with the info I need. I'm granted access to the Calendars and everything. My problem is when I click "Cancel" nothing happens. And when I click "Done" I get an error saying that No…
Chamanhm
  • 1,060
  • 1
  • 11
  • 17
3
votes
1 answer

Speed up fetch of EKEvents

in my app I'm displaying a list of EKEvents and I would like to display all events of a month in a UITableView, each section containing the respective days. Well, this works and I get all the data, I need, but the fetch is very slow. The problem…
3
votes
2 answers

how to customise color of EKEventEditView displayed by EKEventView?

BACKGROUND: I now can see how to customise the color of a EKEventView, which is an apple view that you can use to display a calendar event. The code is per my post here: is this code future proof for customising color of EKEventViews (code…
Greg
  • 34,042
  • 79
  • 253
  • 454
3
votes
0 answers

EkEventStore Duplicate events

I m working iOS calendar events in my app. I dont want to add duplicate event i.e if event is not modified i dont want to add it. I m using saveEvent:event span:EKSpanThisEvent error:&error method from EkEventStore. As per documentation, this method…
Swapnil
  • 1,858
  • 2
  • 22
  • 49
1 2
3
18 19