简体   繁体   English

iOS在本地应用程序中将日历与Google日历同步

[英]iOS sync calendar with google calendar at local app

I'm writing an app to sync with the built-in calendar.app using event kit. 我正在编写一个使用事件工具包与内置calendar.app同步的应用程序。 The built-in calendar.app will sync with Google Calendar when opening. 内置的calendar.app在打开时将与Google日历同步。 However, my app will not sync with Google Calendar when opening. 但是,我的应用在打开时不会与Google日历同步。

Is there any method to sync with Google Calendar through the built-in calendar.app in code (open my app, and it will sync with Google Calendar without any setting)? 有什么方法可以通过代码中的内置calendar.app与Google Calendar进行同步(打开我的应用程序,它将无需任何设置即可与Google Calendar同步)?

在iOS5中,EKEventStore具有refreshSourcesIfNecessary方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM