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
7
votes
1 answer

EKEventViewController doesn't show event details

I'm currently working in iOS11b6 and the section of my code to open an event in EKEventViewController doesn't show event details - it just shows 'New Event', 'January 1, 2001', 'Untitled Calendar'. The section of my code to display the event is…
Andrew Varvel
  • 1,286
  • 1
  • 10
  • 19
7
votes
3 answers

How to Update or Edit EKEvent in iOS and store in native calendar using identifier?

i am using EKEvent in my app to fetch all store events and i want to edit any particular event by identifier and re-save in existing..so what should i do for that? EKEventStore *store = [EKEventStore new]; EKEvent *event = [EKEvent…
Vivek Goswami
  • 432
  • 3
  • 16
6
votes
7 answers

EKEvent eventIdentifier returns null

When I try to get the identifier of an EKEvent, all I get is a nil value. Since in iOS5 EKEvent is a subclass of EKCalendarItem, I figured I might be able to get the EKCalendarItem's UUID, but that returns nil as well. Every now and then I also get…
Glenn
  • 1,085
  • 1
  • 9
  • 13
6
votes
3 answers

EKEventEditViewController Add and Cancel buttons not responding

I am trying to add a calendar event using EKEventEditViewController. I have setup a EKEventEditViewController properly with an EKEventStore, EKEvent, and its editViewDelegate as the presenting view controller. The EKEventEditViewController presents…
6
votes
2 answers

iOS EventKit: Display calendar in a different section other than iCloud / On My iPhone

Is there a way to create a new calendar in my app that will show up in a different section of the native iOS Calendar app? From the pic above, Facebook has its own section for its calendars, so does Hotmail, Gmail, etc. At the moment, I am able…
Chun
  • 1,968
  • 3
  • 17
  • 18
6
votes
2 answers

EKEvent with eventWithIdentifier on iOS

If I want to retrieve EKEvent from EKEventStore with eventWithIdentifier method for previously saved event but I always get null. This is the code for adding event: EKEventStore *eventStore = [[EKEventStore alloc] init]; EKEvent *newEvent = [EKEvent…
Borut Tomazin
  • 8,041
  • 11
  • 78
  • 91
6
votes
3 answers

Add participant to an event in iOS

In the EKParticipant Class reference, " Send attendees to an EKEvent object to get an array of EKParticipant objects. " OK, buy how can I send attendees to an EKEvent object? Someone give example code?
mozkarakoc
  • 269
  • 6
  • 14
5
votes
1 answer

Playing alarm in iphone with EKEvent

I am working on application which stores event using EKEvent class and I want my application to fire alarm when that event occurs. I don't know how to play alarm in iPhone.
iCoder86
  • 1,874
  • 6
  • 26
  • 46
5
votes
0 answers

iPhone restarted when I add multiple local notification more than 1000

In my calendar based app , I create the local notification for all event from my app also. On every launch I remove all notification and create for 2 years. so, its above 1000 event is there. When local notification creation device memory goes to 80…
Ammaiappan
  • 539
  • 3
  • 22
5
votes
1 answer

How to add some additional fields to EKEvent

One solution could be: Creating a new model EKEventExt and add a One-to-One relationship between them, I'm not sure whether it's doable, since EKEventExt is stored in my one sqlite and EKEvent is stored in eventstore.
Yuwen Yan
  • 4,777
  • 10
  • 33
  • 63
5
votes
2 answers

saveEvent returning "No calendar has been set"

I am attempting to save an event into the calendar, from my application. My code works for iOS 7, but on iOS 6, it returns No calendar has been set. The application prompts for user to grant access to the calendar, on iOS 7. But no such prompt…
Hitesh
  • 542
  • 3
  • 12
5
votes
1 answer

How to get a specific recurrent EKEvent in the future date?

I wrote recurrent events (EKEvent) into Calendar. How can I get and modify one of those recurrent events in a specific date? The events were created by following code: + (void) writeTestEvent{ EKEventStore *eventStore = [[EKEventStore alloc]…
Xaree Lee
  • 3,188
  • 3
  • 34
  • 55
4
votes
3 answers

does iPhone simulator calendar store "availability" correctly for an event?

does iPhone simulator calendar store "availability" correctly for an event? I've got a test app that populates the iPhone simulator calendar with events, but I'm noting that the availability property seems to be always FREE when reading it back…
Greg
  • 34,042
  • 79
  • 253
  • 454
4
votes
1 answer

EKEventEditViewController is presented with a disabled Add button

The problem I'm presenting a EKEventEditViewController view with some predefined information. If the user doesn't want to change this information, he should be able to tap Add to add the event to the calendar. The problem is, the Add button is…
Marcos Tanaka
  • 3,112
  • 3
  • 25
  • 41
4
votes
1 answer

Empty EKEventStore calendar list after authentication

I would like to grab the names of my calendars on my Mac. I have 1 that's listed as "On My Mac", another (Birthdays) under "Other", and 4 that are pulled in from Google Calendar. let eventStore = EKEventStore() eventStore.requestAccess(to:…
user479947
1
2
3
18 19