如果从外部源(其他设备,谷歌)向其添加事件,是否有任何方法可以从 EKEventStore
或 EKCalendar
接收回调?
最佳答案
所以我有一个 EKEventStore
的监听器
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveEventStoreChangedNotification:) name:EKEventStoreChangedNotification object:nil];
每次 EventStore 数据更改时都会调用它。
关于ios - 如何获取本地日历更新回调,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39979070/