Questions tagged [eventkit]

EventKit is a framework on iOS and OS X which provides classes for accessing and modifying calendar event information.

From the documentation:

The Event Kit and Event Kit UI frameworks together allow applications to access event information from a user’s Calendar database. You can fetch events based on a date range or a unique identifier, receive notifications when event records change, and allow users to create and edit events for any of their calendars. Changes made to events in a user’s Calendar database with Event Kit are automatically synced with the appropriate calendar (CalDAV, Exchange, and so on)

The EventKit framework provides classes for accessing and manipulating calendar events and reminders.

Event Kit not only allows your app to retrieve users’ existing calendar and reminder data, but it also lets your app create new events and reminders for any of their calendars. In addition, Event Kit lets users edit and delete their events and reminders (collectively known as “calendar items”). More advanced tasks, such as adding alarms or specifying recurring events, can be achieved with Event Kit as well. If a change to the Calendar database occurs from outside of your app, Event Kit is able to detect the change by notification so your app can act appropriately. Changes made to calendar items with Event Kit are automatically synced to the associated calendar (CalDAV, Exchange, and so on).

Event Kit provides limited access to a user’s Calendar database; it does not include everything that would be desired for implementing a full-featured calendar or reminder app, such as adding attendees or accounts.

Reference:

1.EventKit Constants Reference

2.EventKit Framework Reference

3.Introduction to Calendars and Reminders

4.EventKit UI Framework Reference

Sample Code:

SimpleEKDemo

567 questions
0
votes
1 answer

iCal add event error only on fresh installations, and fixed by restart

I have recently released an app and instantly found an annoying bug. There is a button to add events to iCal. When pressed the user is asked to allow the app access to the calendar. If the user clicks ok then an error message is displayed (the…
Nick Jones
  • 523
  • 1
  • 3
  • 17
0
votes
1 answer

Xcode: Event not created in Calendar : issue With Timezone?

ddI am facing issue while creating Event in Native CALENDAR, When i pass event.startDate anything other than present timestamp... also event.endDate not working with different value as below.. - (void)createEventInCalendar:(NSString *)calendarType…
ibiren
  • 673
  • 6
  • 25
0
votes
1 answer

why does EKEventEditViewController take ~3 seconds to load

I have a EKEventEditViewController that I initializie and present like this: EKEventEditViewController *addController = [[[EKEventEditViewController alloc] initWithNibName: nil bundle: nil] autorelease]; [self presentModalViewController:…
Jakob
  • 1,126
  • 3
  • 16
  • 38
0
votes
0 answers

MBProgressHUD object not show when do requestAccessToEntityType for EKEntityTypeEvent

I want to show the MBProgressHUD object - progressHud during process auto add about 100 events to calendar. Here is codes when i touch on the button to do this task. - (IBAction)add_event_for_test:(id)sender{ self.progressHud = [[MBProgressHUD…
nghien_rbc
  • 133
  • 1
  • 12
0
votes
1 answer

ios Event Kit using my own notifications

Using Apple's EventKit.framework, the notifications can only come from Calendars app and Reminders app. Any way to make my own notifications but use Apple's calendar database? I mean that the notification would come from my own app... Thanks
Eli_Rozen
  • 1,301
  • 4
  • 20
  • 31
0
votes
0 answers

Mask UIWebView as a button to display the 'Show in Calendar' action sheet allowed in app store?

I need to jump to iOS calendar and show a specific day. I read through the documentation and there is no schema url for the calendar app but I could find a hack that is embedding a date into a UIWebView (which I made it look like a button). That…
vorterixe
  • 83
  • 5
0
votes
1 answer

add eventViewController not showing anything

I'm currently working on a agenda part of an app. I managed to show all my events and also go to the details from it and edit it. But when I want to add an event it shows me an empty view. I should mention that I have a custom datasource for my…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
0
votes
2 answers

EKEditviewController keeps showing the title in the navigationbar

I'm working with the EventKit Framework. It is working almost perfect but I have still some issues. When I push my on an Event, it goes to the details of that Event. It shows correctly the details and I can also edit and save it. The problem is with…
Steaphann
  • 2,797
  • 6
  • 50
  • 109
0
votes
1 answer

EventKit Reminders

I am pulling my hair out trying to learn the basics of EventKit reminders. I am trying to recreate the tutorial here: http://www.techotopia.com/index.php/Using_iOS_6_Event_Kit_to_Create_Date_and_Location_Based_Reminders But when I try to build the…
0
votes
1 answer

Event Title Not Showing Using EK Events, EventKit

A the title suggests when presenting the view for an event using EventKit my title string does not show in the presented view, its just blank EKEventStore *es = [[EKEventStore alloc] init]; EKEventEditViewController *controller =…
JSA986
  • 5,870
  • 9
  • 45
  • 91
0
votes
1 answer

Notified with changes of Calendar events

I want to get notified when my application is in background with : [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(calendarChanged:) name:EKEventStoreChangedNotification object:nil]; I tried to implement it but…
Alaa12
  • 47
  • 2
  • 8
0
votes
1 answer

event.startDate output is null

i am trying to add event to the calender, but event.startDate output is null. event.startDate = [formatter dateFromString:dateandtime]; Can any one tell me why? i checked the formatter, every thing is fine.. but i am not getting the event saved.…
makumar
  • 185
  • 2
  • 12
0
votes
1 answer

store event in native calendar of iPhone using EventKit.framework

I am trying to save event in iPhone calendar using EventKit.framework. Its save perfectly, but I want to set alert to "NONE", but by default it takes '30 minutes before' as alert. How can I solve this problem? Here is my code to save event in iPhone…
user7388
  • 1,741
  • 2
  • 19
  • 25
0
votes
1 answer

How do I check for duplicates in event calendar eventkits

I fetched a list of all events and try to match it with my current events about to be added, but it never matches and just add duplicates. The code I used to fetch is from apple's document. Can anyone…
minjiera
  • 336
  • 3
  • 16
0
votes
1 answer

How to Tint Buttons on Calender Entry View (EKEventEditViewController)

I am trying the following to change the tint of the done/cancel buttons on a default EventKitUI - "Add Event" Calendar Entry Sheet. EKEventEditViewController *eventController = [[EKEventEditViewController alloc]init]; …
Bernd
  • 11,133
  • 11
  • 65
  • 98