如何调用ical同步服务?

发布于 2024-10-09 02:54:28 字数 146 浏览 0 评论 0原文

我有一个通过日历存储框架与 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时常饿 2024-10-16 02:54:28

我不确定它会获取对 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文