Questions tagged [ekeventkit]

166 questions
3
votes
0 answers

Creating EKCalendar IOS Objective-C

I use to EventKit to create EKCalendar. I try to create it using this method. when I test it in Simulator calendar creates (screenshot) and appears in default Calendar, but when I do the same on device it doesn't work, there are no errors , all the…
Evgenii
  • 422
  • 2
  • 14
3
votes
1 answer

EKReminder property storing contact phone number

My iOS app reads EKReminders created by the native Reminders app or by Siri. I have access to the EKEventStore and I can successfully read Reminders and their details, such as title, alarms, priority and if it is a location-triggered alarm. What I'm…
cdf1982
  • 764
  • 1
  • 18
  • 34
3
votes
3 answers

NSNotificationCenter callback while app in background

One question and one issue: I have the following code: - (void) registerForLocalCalendarChanges { [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(localCalendarStoreChanged) name:EKEventStoreChangedNotification…
3
votes
1 answer

EKEvents/EKReminders set but are not displaying on calendar

I am setting events to calendar. The code works throughly but wen I check if the event r set on my device's calendar. It doesnt show anything. I am doing this in ios6, when I do it for ios5, it works fine.
JgdGuy
  • 173
  • 11
3
votes
2 answers

Reminders.app two-way synchronisation logic

I want my app to synchronise with the Reminders.app. (my app utilizes Core Data) I've already done a prototype and it works, but there are some bugs I can't think through. Right now my sync algorithm looks like this: 1.Listen to…
Devfly
  • 2,495
  • 5
  • 38
  • 56
3
votes
1 answer

How to detect which EKevent was changed

I got the problem. I need to know when Events in my EventStore are changed, so for this case I use EKEventStoreChangedNotification but this notification return to me incomprehensible dictionary in userInfo It's look like…
Ivan Titkov
  • 359
  • 3
  • 14
3
votes
3 answers

Sorting ekcalendar or ekreminder

is there a way to sort the Calendar or Reminders? I haven't found a sortIndex properties or something like that... How the reminder app do sort there items? Best regards
user656219
3
votes
4 answers

EKCalendar and Error Domain=NSMachErrorDomain Code=268435459

I am exploring EKEventKit. I connect my iPhone and make the calls to get the calendars installed EKEventStore *eventDB = [[EKEventStore alloc] init]; NSArray * calendars = [eventDB calendars ]; However when I log the calendars I get this error…
reza23
  • 3,079
  • 2
  • 27
  • 42
3
votes
1 answer

How to keep track of events added by my app in iphone calender

I get events from a web service in my application, every event has an unique identifier. If the user wants to push that event to native calender I will save that event in native but how would I know if that event is already existing in the native…
Yogesh Maheshwari
  • 1,324
  • 2
  • 16
  • 37
2
votes
2 answers

How to customise a EKEventEditViewController?

I am using the EKEventEditViewController to add events to the calendar, however I need to customise the table view, such as background colour and cell properties. I have tried looping through its subviews like so with no luck. Failed…
Josh Kahane
  • 16,765
  • 45
  • 140
  • 253
2
votes
2 answers

EKRecurrenceRule with end repeat never

I want to create a EKEvent in calendar with forever repeat option. Below is the code for the Recurrence rule EKRecurrenceRule *rule = [[EKRecurrenceRule alloc] initRecurrenceWithFrequency:EKRecurrenceFrequencyDaily …
2
votes
0 answers

Swift iOS/Mac Catalyst: EKEventViewController and EKEventEditViewController do nothing when tap show all notes or end time

I'm developing an app that manages events and I have an annoying problem that affects both EKEventViewController and EKEventEditViewController, some buttons wont work. On EKEventViewController - "Show All Notes" does nothing when you tap over it…
Meroelyth
  • 5,310
  • 9
  • 42
  • 52
2
votes
1 answer

How to Get Calendar Permissions with EventKit in Swift in macOS App

I'm trying to add a calendar event to the macOS calendar from a Mac app I'm developing with Swift 5 in Xcode 11.2.1. For starters, I have the Calendar entitlement checked in the App Sandbox. I'm trying to prompt for permissions like this: import…
Clifton Labrum
  • 13,053
  • 9
  • 65
  • 128
2
votes
1 answer

how to remove certain / Specific event using EventKit

I need to remove an event with certain/specific title, I hope that I can delete/remove the event based on the eventID/Identifier. but I don't know how to do that in code. I don't know how to give identifier to the event and remove it based on their…
sarah
  • 3,819
  • 4
  • 38
  • 80
2
votes
1 answer

Sort EKReminder based on due date

I have an array of EKReminder objects and I would like to sort them by due date. This seems easy at first, doing something like this: NSSortDescriptor *dateDescriptor = [NSSortDescriptor sortDescriptorWithKey:@"dueDate"…
Balázs Vincze
  • 3,550
  • 5
  • 29
  • 60
1 2
3
11 12