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

Add event to calendar xcode?

I have a basic app with a list view with manualy added cells. How would i make it so that when a cell is clicked , a specific date is added to the iphone calendar? Info - using latest xcode with storyboards
Stefan Lazic
  • 41
  • 1
  • 11
0
votes
2 answers

OSX 10.8: Where is eventkit.h?

Am I the only one, or do others also have an error when doing #import For some reason, this file cannot be found (10.8, XCode 4.4) even if XCode suggests it to me after typing a few letters!
Carelinkz
  • 936
  • 8
  • 27
0
votes
1 answer

Issue in deleting calendar from iPhone

i have successfully created calendar by coding and create events in that calendar.I am able to delete the calendar by coding but when i select iPhone's calendar and delete newly created calendar this time delete not working. please…
priya
  • 57
  • 6
0
votes
1 answer

Add event to calendar with EventKit Mountain Lion

I added the framework EventKit and I have this code. I can't add an event at default calendar. #import "Calendar.h" #import @implementation Calendar -(IBAction)addCal:(id)sender { EKEventStore *store = [[EKEventStore…
Joannes
  • 81
  • 1
  • 11
0
votes
1 answer

EKAlarm absoluteDate is null

for my project I am using the EventKit to access the calendar on an iPhone (iOS 5.1.1) and get all Events from the default calendar. That works fine. For each event I check hasAlarms, if true, I want to know the time of the alarm. So, something like…
Robert
  • 1
  • 1
0
votes
0 answers

How to add events to iPhone native Calendar from Google Calendar?

I want to add events to native calendar from google's calendar programmatically. I have a program that can fetch events from google calendar and show them in table view.How can i add these events to iphone's native calendar?
Graham Bell
  • 1,139
  • 1
  • 14
  • 30
0
votes
1 answer

iOS setting ekevent start time with local time zone

In my iOS application, I'm showing date picker through which user can select at what time they want to select to store the event in calendar. i am using event kit for this. This is working fine. But the problem is that its creating the even in GMT…
Satyam
  • 15,493
  • 31
  • 131
  • 244
-1
votes
1 answer

How to keep track of list changes in reminders app, like Name or Color - Swift and SwiftUI App

I know there is the EKEventStoreChanged Event to keep track of changes in the Reminder-App. The only problem is that this event just get triggered, when a list in the reminder app gets created or deleted. Not edited. Does anyone know how to keep…
khsadkj
  • 1
  • 2
-1
votes
1 answer

Using Calendar EventKit to fulfil a specific purpose for my app

Hey guys I am a beginner programmer making my first app. I am trying to create a "note to future self" IOS app on Xcode. Basically you add a note that you want to share with yourself at any particular date in the future. Does anyone have any…
-1
votes
2 answers

Problems fetching events from EKEventStore

I am trying to read all calendar events from the EventStore. The routine I use, works sometimes but not always. func getCalendarEvents(_ anfangOpt: Date?, _ endeOpt: Date?) -> [EKEvent]? { guard let anfang = anfangOpt, let ende = endeOpt else {…
Jan
  • 41
  • 5
-1
votes
2 answers

How to show default calendar in viewcontroller of iOS

I am trying to fetch my default calendar view of iPhone in my viewcontroller . Does it Possible ? Tab on button and open will worked([[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"calshow://"]]; ) and some Third party will also…
SANTOSH
  • 183
  • 1
  • 15
-1
votes
1 answer

Calendar in Swift 3

enter code hereI'm trying to add a calendar feature to my app, but I'm having 2 errors on two different viewcontrollers, I can't find out what I am missing. The error says: Value of type AddEventViewController has no member "Calendar" on the line…
Jaroslav
  • 67
  • 1
  • 7
-1
votes
1 answer

Dialog box displayed by EKEventStore.authorizationStatus(for:) apparently hidden behind overlay

My app's application(_:didFinishLaunchingWithOptions:launchOptions:) is creating an overlay like this: window.makeKeyAndVisible() let launchStoryboard = UIStoryboard(name: "LaunchScreen", bundle: nil) let overlayView =…
Drux
  • 11,992
  • 13
  • 66
  • 116
-1
votes
1 answer

Checking for nil in an EKCalendar

I'm working on an app that gets events from a specific iOS calendar. When that calendar is empty however I, of course, get a fatal nil error. let calendar = calendarWithTitle("Personal Trainer's Tool", type: EKCalendarTypeCalDAV, …
Leighton
  • 6,559
  • 7
  • 21
  • 28
-1
votes
1 answer

Need assistance regarding UILocalNotification and reminders

My employer want an reminder app but don't want to add any thing in built-in reminder app, because using eventkit framework reminders will be added in reminder app of iOS. On other hand UILocalNotification is limited to 64 per app and also limited…
S.J
  • 3,063
  • 3
  • 33
  • 66
1 2 3
37
38