ekeventkit

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

佐手、 提交于 2019-11-30 07:37:48
问题 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, however the device continues to create iCloud calendars in a loop every 3-5 seconds until iCloud is turned back on and then all of those calendars flood into iCloud as duplicates. I'm using nearly the exact code that has been referenced here on SO many

Add participant to an event in iOS

倾然丶 夕夏残阳落幕 提交于 2019-11-29 14:49:20
问题 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? 回答1: The iOS reference says the following: You do not create EKParticipant objects directly. Send attendees to an EKEvent object to get an array of EKParticipant objects. Unfortunately that attendees property is read-only and the ways that these EKParticipant 's come into existence is omitted

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

谁说我不能喝 提交于 2019-11-29 07:42:54
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, however the device continues to create iCloud calendars in a loop every 3-5 seconds until iCloud is turned back on and then all of those calendars flood into iCloud as duplicates. I'm using nearly the exact code that has been referenced here on SO many times as well as in Apples Docs. I'm completely stumped as to why it's not working and there seems to

How to accept/decline EKEvent invitation?

好久不见. 提交于 2019-11-29 07:08:20
I would like to allow my users to accept/decline a meeting invitation within my app. I think what I need is to update somehow the EKParticipantStatus but it looks like it isn't possible to update. Apple Docs: Event Kit cannot add participants to an event nor change participant information In this stackOverflow question someone suggested to bring the native EventKitUI, which I've tried like this: class CalendarViewController: UIViewController, EKEventViewDelegate { // ..... let eventController = EKEventViewController() guard let eventWithIdentifier = MeetingsFetcher.eventStoreClass.event

How to accept/decline EKEvent invitation?

妖精的绣舞 提交于 2019-11-28 00:31:20
问题 I would like to allow my users to accept/decline a meeting invitation within my app. I think what I need is to update somehow the EKParticipantStatus but it looks like it isn't possible to update. Apple Docs: Event Kit cannot add participants to an event nor change participant information In this stackOverflow question someone suggested to bring the native EventKitUI, which I've tried like this: class CalendarViewController: UIViewController, EKEventViewDelegate { // ..... let eventController

Is it possible to reset the privacy settings in iOS?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-26 17:35:19
In order to test access granting to the iOS calendar, I need to reset the privacy settings on my test device. However, every time I install it on the device it remembers the old privacy settings and does not show the alert view to ask me if I grant access. Deleting the app and reinstalling it does not change this fact. Is there a way to make iOS forget it knows my app and ask me again? Start the "Settings.app", go to General > Reset > Reset Location & Privacy. This resets the privacy settings for all apps, but as far as I know, there is no way to reset it for a single app. Even removing the

Is it possible to reset the privacy settings in iOS?

元气小坏坏 提交于 2019-11-26 05:29:31
问题 In order to test access granting to the iOS calendar, I need to reset the privacy settings on my test device. However, every time I install it on the device it remembers the old privacy settings and does not show the alert view to ask me if I grant access. Deleting the app and reinstalling it does not change this fact. Is there a way to make iOS forget it knows my app and ask me again? 回答1: Start the "Settings.app", go to General > Reset > Reset Location & Privacy. This resets the privacy