Questions tagged [ekeventkit]
166 questions
2
votes
0 answers
Modifying EKParticipantStatus in EventKit
In my calendar based app in iOS, i sync all event from device calendar.
i create one event with me as participant from another gmail.
now i want to change "EKParticipantStatus" like going, maybe or NO.
but, this property is readonly in…

Ammaiappan
- 539
- 3
- 22
2
votes
2 answers
Resetting EKAuthorizationStatus to EKAuthorizationStatusNotDetermined for Testing Purposes
So, the problem:
When using the Event Kit framework and requesting access to the user's calendar database on OSX the panel that asks the user for permission is only presented the first time -requestAccessToEntityType:Completion: is called. This…

Max Taggart
- 699
- 6
- 12
2
votes
1 answer
EKEventStore object issue - EKErrorDomain "No calendar has been set"
I am creating a dummy data and call this method 200 times from a for loop:
func createEvent(eventStore: EKEventStore, title: String, startDate: NSDate, endDate: NSDate) {
let event = EKEvent(eventStore: eventStore)
event.title = title
…

Async-
- 3,140
- 4
- 27
- 49
2
votes
1 answer
EKEventKit - How to retrieve eventIdentifier after batch commit?
I'm doing batch commit after saving a lot of ekEvents. And I need to retrieve the eventIdentifier for each EKEvent. But it's not showing after the commit. I am aware that saving it with
commit:NO
will not produce eventIdentifier. But surely after…
user5480193
2
votes
1 answer
EKEvent when last updated
I'm currently building an iOS calendar app that can access the iphone's calendar to read/write from/to it, the problem that i'm facing is that my app should sync both my app's calendar and the iphone calendar, so if my app modifies an event it…

TheFuquan
- 1,737
- 16
- 18
2
votes
1 answer
Is there any way to create hourly RecurrenceRule?
I have an EKEvent that occurs every 4 hours, and I want to create a single recurring event.
Unfortunately the available frequencies in the EKRecurrenceRule class are daily, weekly, monthly, and yearly.
How can I set hourly frequency for the…

Abdelrahman
- 997
- 2
- 10
- 24
2
votes
0 answers
IOS + Add Event in Device calender with EKRecurrenceRule
I want to add event in device calendar on monthly which is working fine to me. But the problem is occurred in second condition. Suppose we add one event on 31st of each month and if 31 is not exist in that month then add on last day of that month…

Hindu
- 2,894
- 23
- 41
2
votes
1 answer
EKEvent accept event invtation
I wonder how can I set accept/may be/decline participant status for an EKEvent for which current user has been invited?
I can check the participant set but EKEvent found nothing for which I can set its status.

Afnan
- 888
- 1
- 13
- 37
2
votes
2 answers
Handling EKEventStoreChangedNotification notification
I am listing the events in my app. User can create, edit and delete the events. In viewDidLoad method I fetch all events I need and push them into an array. It works like expected.
For creating, editing and deleting events I use…

Mert
- 6,025
- 3
- 21
- 33
2
votes
2 answers
Finding EKEvents with method predicateForEventsWithStartDate:endDate:calendars
I am using predicateForEventsWithStartDate:endDate:calendars to find all the events that happen in a given 24 hour period. I want all events where any part of the event takes place on this day. I'm struggling to handle events that span multiple days…

Awais Hussain
- 98
- 1
- 2
- 8
2
votes
0 answers
My EKEvent is not being saved on my iphone 5 ios 6.1
My EKEvent is not saving in my iphone 5 ios 6.1 but its saved on my ipod 6.0. and When I update my event and save it , the event is deleted.
Please help me fix it. Its it a ios bug? or just in the code?
this is my code:
-…

Edgar
- 179
- 11
2
votes
1 answer
App crashing due to event store changed?
I searched SO but didnt find any accurate answer for this.
I am implementing Event Kit in my app.I am programatically implementing creation of events,
But I am not specifying any calendar there.Then I am using the EKEventViewController to Edit my…

Sabby
- 2,586
- 2
- 27
- 41
2
votes
1 answer
EKEvents Store object initialization
I want to create a EKEventStore object, and use it in different classes, Can I use different instances in each class ? or I have to create one EKEventStore instance using singleton pattern?
Apple documentation recommend creation of one instance,…

Ayman Melhem
- 493
- 3
- 13
2
votes
2 answers
EKEventStore, do I need EventKit.Framework for iOS 6 separately?
I have an universal iOS app, giving efforts to make it compatible with iOS 6. I am using Cordova / Phonegap framework so my app is HTML, CSS and JS. I am using calenderPlugin for Cordova which is available on GitHub, working fine before iOS 6.
Issue…

Hardik Thakkar
- 394
- 5
- 17
2
votes
1 answer
Can't query the reminders in a calendar from ekstore
I'm trying to get a list of reminders from a calendar but I'm keep getting an error. I can do a similar thing with calendar events but when i try and amend it for reminders i run into problems.
This code fails on the first line to do with…

lps
- 227
- 1
- 4
- 15