如何调用ical同步服务? [英] How to invoke ical sync service?

查看:183
本文介绍了如何调用ical同步服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过Calendar Store框架与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?

谢谢你, 何塞.

推荐答案

我不太肯定它将获取对CalendarStore所做的最新更改,但是您应该能够通过启动来触发iCal的同步客户端(NSWorkspace可以):

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

这是iCal用于与Sync Services进行交互的同步工具.

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

这篇关于如何调用ical同步服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆