iPhone:如何以编程方式与本机日历应用程序交互
有没有什么方法可以在不使用 EventKit
或 EventKitUI
的情况下与本机日历应用程序交互? EventKit/EventKitUI
允许您在本机日历中添加/编辑/删除等事件,但我正在尝试找到某种方法将事件添加到本机日历中,以便当用户查看添加的条目时因此(从日历应用程序查看,而不是从我的应用程序查看),通过单击它,他们会在我的应用程序(具有一个或多个额外按钮)提供的 ViewController 中看到该项目。
这是可能的,还是我必须在自己的应用程序中模拟整个本机日历才能使日历按照我想要的方式运行?
Is there any way to interact with the native Calendar application without using EventKit
or EventKitUI
? EventKit/EventKitUI
lets you add/edit/delete etc. events in your native calendar, but I'm trying to find some way to add events to the native calendar so that when a user views an entry added thusly (viewed from the Calendar application, not from my application) by clicking on it, they see the item in a ViewController provided by my application (which has one or more extra buttons).
Is this possible, or do I have to emulate the entire native calendar inside my own application in order to get the calendar to behave the way I want it to?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从其他内置应用程序的隔离式保护来看,我敢打赌这是不可能的。不过我只有 99.9% 的把握。
Judging from the quarantine-like protection of other built in apps, I'd bet this is impossible. I'm only 99,9% percent sure, though.