Questions tagged [ekeventkit]

166 questions
6
votes
1 answer

iOS 7 app crashes when changing calendar privacy

I have an app which uses, the Event Kit to sync some events with the iOS calendar. This works fine with one exception. If the app is in the background/suspended and the privacy setting for the calendar are changed (settings > privacy > calendar > my…
mark
  • 147
  • 10
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

Set background color/image for EKEventEditViewController

The following is my code for adding a calendar event. I want to sent a background image for EKEventEditViewController. I found this code UITableView *eventTableView = [[editController.view subviews]objectAtIndex:0]; Using this code I was able to…
Dilip Rajkumar
  • 7,006
  • 6
  • 60
  • 76
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
0 answers

Creating reminders with complex rules in ios

I want to create a repeating reminder with a complex rule i.e reminders will have a start date and end date. reminders will repeat on specific week days only. On the selected day between start date and end date they will occur on specific…
amar
  • 4,285
  • 8
  • 40
  • 52
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
5
votes
3 answers

iOS EKEvent Store recreating iCloud calendars in a loop, won't save local.

I'm having a strange issue EKEventStore, iCloud and local calendars. If iCloud is enabled the Calendar is created and events are saved into the calendar as you would expect. if iCloud is turned off and you try to save an event nothing happens,…
KDM
  • 197
  • 5
  • 18
5
votes
1 answer

Repeating the process of requestAccessToEntityType:EKEntityTypeEvent during development

I am developing an app that needs access to the calendar data base. I put in a code that now asks for permission which I found on the site, and thanks for that: requestAccessToEntity iOS6- Backwards compatibility - EKEventStore However for testing…
reza23
  • 3,079
  • 2
  • 27
  • 42
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
3
votes
1 answer

EKEventEditViewActionDeleted called several times while deleting event

I am trying to save an event to iPhone calendar also to delete when user deletes the event. following is the code I am using for creating and editing an event . // Upon selecting an event, create an EKEventViewController to display the…
Dilip Rajkumar
  • 7,006
  • 6
  • 60
  • 76
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
3 answers

does EKEventEditViewController not support being pushed to a NavController? See code & error attached

does EKEventEditViewController not support being pushed to a NavController? See code & error attached. I can present the EKEventEditViewController modally fine, BUT when I try to push via the nav controller I get the following error: *** Terminating…
Greg
  • 34,042
  • 79
  • 253
  • 454
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
1 answer

EKEvent vs RID

I have iOS application(written on objective c) which works with events from the calendar. Something strange that I saw is on change of recurrent meeting is that in the most of the cases the calendarItemExternalIdentifier field was changed and there…
m1sh0
  • 2,236
  • 1
  • 16
  • 21
1
2
3
11 12