简体   繁体   English

从iOS日历事件到我们的应用程序的2种同步方式

[英]2 way syncing from iOS calendar event to our app

How we can do 2 way syncing of calendar events in iOS from our application. 我们如何从应用程序中进行iOS中日历事件的2种方式同步。 For example say ToDo is my app 例如说ToDo是我的应用

  1. I create an event in ToDo; 我在ToDo中创建一个事件; it's automatically created into calendar app using event kit. 它会使用事件工具包自动创建到日历应用中。

  2. I delete an event in ToDo it's automatically deleted form calendar app 我在ToDo中删除了一个事件,该事件会自动从日历应用程序中删除

Question: 题:

  1. If I create an event into calendar can it be created into ToDo also??? 如果我在日历中创建事件,也可以将其创建到ToDo中吗???
  2. If I delete a ToDo event form calendar can it be deleted form ToDo app too??? 如果我删除ToDo事件表单日历,也可以从ToDo应用程序中删除它吗???

So basically I need two way syncing of events between my app and the iOS native calendar app 所以基本上我需要在我的应用程序和iOS本机日历应用程序之间以两种方式同步事件

Yes this can be done if you use the Event kit. 是的,如果您使用事件工具包,则可以完成此操作。 Refer the sample code in this link 请参阅此链接中的示例代码

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

相关问题 iOS-以编程方式将我们应用的自定义URI添加到存储在日历中的事件中 - iOS - Add custom URI of our app to the event stored in calendar programmatically 如何从iOS 6.1中的应用程序打开本机日历应用程序? - How to open native calendar app from our app in iOS 6.1? 是否可以通过自定义应用程序将iCal事件编辑到iPhone日历? - Is there any way to edit iCal event to the iPhone Calendar from the custom App? 有没有办法从我的服务器没有后端费用从iOS应用程序收取卡。(条纹 - iOS) - Is there any way to charge card from iOS App without backend charge from our server.(Stripe - iOS) 如何确定链接是IOS App中的日历事件,然后将其添加到Calendar? - How do I determine that a link is a calendar event from an IOS App and then add it to Calendar? 是否可以使用来自应用程序的预填充数据打开IOS日历应用程序的添加事件到日历屏幕? - Can I open the the add event to calendar screen of the IOS calendar app with pre-filled data from my app? iOS/Swift - 有没有办法将我们的应用程序链接为 WhatsApp 消息? - iOS/Swift - Is there a way we can link our app as a WhatsApp message? iOS EventKit-未从日历中删除事件 - iOS EventKit - Event is not being deleted from calendar 网站ics中的ios日历事件 - ios calendar event from website ics 将事件从 ios 添加到谷歌日历 - Add event to google calendar from ios
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM