如何调用ical同步服务?
我有一个通过日历存储框架与 iCal 同步的应用程序。我注意到我需要打开 iCal 同步服务才能启动并将应用程序添加的事件和任务传输到我的 ipad 和 iphone。所以..我的问题是,有没有办法在不打开ical的情况下启动ical同步服务?
谢谢你, 何塞.
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定它会获取对 CalendarStore 所做的最新更改,但您应该能够通过启动(NSWorkspace 即可)来触发 iCal 的同步客户端:
/System/Library/Frameworks/CalendarStore.framework/Resources /iCalExternalSync
这是 iCal 用于与同步服务交互的同步工具。
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.