How to invoke ical sync service?
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.
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.
精彩评论