How to invoke ical sync service?

我是研究僧i 提交于 2019-12-14 03:56:59

问题


I have an application that syncs with iCal through the Calendar Store framework. I've noticed that I need to open iCal for the sync service to start and transfer events and tasks added with my application to my ipad and iphone. So.. my question, is there a way to start ical sync service without opening ical?

Thank you, Jose.


回答1:


I'm not positive that it will pick up the latest changes made to CalendarStore, but you should be able to trigger iCal's sync client by launching (NSWorkspace would do):

/System/Library/Frameworks/CalendarStore.framework/Resources/iCalExternalSync

This is the sync tool iCal uses to interact with Sync Services.



来源:https://stackoverflow.com/questions/4493934/how-to-invoke-ical-sync-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!