ekevent

How to identify EKEvent uniquely with Sync across the devices

旧巷老猫 提交于 2019-11-28 02:25:28
I am trying to make Event Syncing feature for a Project. I need to sync events with the remote server. Let's say I Installed the App in Device A. If I login to another device lets take B, then events synced from A should also appear in Device B, and events of B should also be synced. Now if I again login into the Device A, Events of B should be added. But events previously from A should not again be added to Device A again For this I decided to keep its eventIdentifier on the remote database. The Issue now happens when I again Go back to Device B, where events previously synced from Device A

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

Modifying EKParticipants (attendees) in EventKit like Sunrise

放肆的年华 提交于 2019-11-27 20:08:25
My goal is to add some invitees to an EKEvent . I've looked into other questions like this, such as this one , but all say that it is essentially impossible to add EKParticipant s to an EKEvent programmatically. I do see that the attendees property is read-only, but I see other services like Sunrise using it in their mobile app. I'm confident that they're using some system that at least partially integrates with EventKit because they're pulling in calendars from the user's iCal app. Invites sent from an added Exchange account, for example, are also clearly sent by the Exchange service as

how to get ekevent EKparticipant email?

匆匆过客 提交于 2019-11-27 03:25:43
问题 how to get ekevent EKparticipant email? EKParticipant class does not have such a attribute. Is it possible to render the native ios participants controller to show the list of participants? 回答1: I had this same question and when I was at WWDC this year, I asked several Apple engineers and they had no clue. I asked a guy I met in line and he had the answer: event.organizer.URL.resourceSpecifier This works for any EKParticipant. I was cautioned NOT to use the description field because that may