eventkit

Missing EKEvents when saving multiple Google calendar events

一个人想着一个人 提交于 2021-02-08 04:57:06
问题 I'm looping through around 100 objects that create an event for each using EventKit. I don't "commit" until all the objects are saved and know a calendarIdentifier is successfully fetched for each. Yet about 10-15% of the events never show on the device calendar or online. This only happens with Google Calendar. iCloud and local work fine. I understood when creating multiple events like this, it was preferable to use: [eventStore saveEvent:event span:EKSpanThisEvent commit:NO error:&error]; .

how to open create event screen in calendar app with populated data in swift? [closed]

末鹿安然 提交于 2020-06-08 04:32:48
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last month . I have tried to search but most of the answer like in here is to directly save the event to calendar. I want just to open a calendar app with populated data like the image below. so the user can modify the data first before adding a new event to the calendar I want to automatically

Google Delegates on Calendar Framework / EventKit

只愿长相守 提交于 2020-01-03 07:21:23
问题 I have always run with the assumption that Google delegates can be viewed by iCal and the calendar.app, but are not visible to us developers through the calendar framework, or EventKit. Has this changed? 回答1: I have the problem too. Calendars show up twice. Deselect the delegates. A little later everything disappears. Apparently its a problem on google's side. They claim to be "working on it" Check discussion I found the google thread on another apple forum page devoted to the same problem

Google Delegates on Calendar Framework / EventKit

醉酒当歌 提交于 2020-01-03 07:20:12
问题 I have always run with the assumption that Google delegates can be viewed by iCal and the calendar.app, but are not visible to us developers through the calendar framework, or EventKit. Has this changed? 回答1: I have the problem too. Calendars show up twice. Deselect the delegates. A little later everything disappears. Apparently its a problem on google's side. They claim to be "working on it" Check discussion I found the google thread on another apple forum page devoted to the same problem

EKCalendarChooser multiple selection does not work

丶灬走出姿态 提交于 2020-01-02 06:49:44
问题 I'm trying to use EKCalendarChooser to get multiple calendars selected by the user. This is how I present the view: EKCalendarChooser* dvc= [[[EKCalendarChooser alloc] initWithSelectionStyle:EKCalendarChooserSelectionStyleMultiple displayStyle:EKCalendarChooserDisplayAllCalendars eventStore:eventStore] autorelease]; dvc.selectedCalendars= self.selectedCalendars; dvc.delegate= self; dvc.contentSizeForViewInPopover= CGSizeMake(320.0, 480.0); self.popOver= [[UIPopoverController alloc]

How to use requestAccessToEntityType method in Swift iOS 8

落花浮王杯 提交于 2020-01-02 05:23:46
问题 I'm trying to get a list of events by using EKEventStore using Swift in iOS8, and the documentation is not updated yet as far as I can tell. This is what I'm trying to do: let eventStore = EKEventStore() eventStore.requestAccessToEntityType(EKEntityType(), EKEventStoreRequestAccessCompletionHandler(Bool(), NSError(){})) This is the error I get: 'EKEventStoreRequestAccessCompletionHandler' is not constructible with '(Bool, NSError) Do you know how can I use the method or the handler correctly