是否可以从另一个 iPhone 本机应用程序向 iPhone 日历添加提醒?
我在某处看到您无法以编程方式从另一个本机应用程序向 iPhone 日历添加提醒。
这是真的还是假的?如果错误那么我们如何才能实现这一目标。如果属实,那么还有其他方法可以向 iPhone 日历添加提醒吗?否则您无法全部完成。
I have seen somewhere that you can't add a reminder to iPhone calender from another native application programatically .
Is it true or false ? If false then how can we achieve that . If true then is there any other way of adding reminder to iPhone calendar or you can't do it all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不幸的是,现阶段没有公共 API 可以与日历存储进行交互。
Unfortunately there is no public API to interact with the calendar store at this stage.
目前我能想到的唯一方法是将提醒发布到您托管的日历中,并让用户通过 CalDav 订阅它。这就是 Toodledo 所做的。虽然它需要用户手动订阅日历。
另一种选择是绕过日历并将通知推送给用户作为提醒。这不像第一种方法那么有弹性。
与所有这些缺失的功能一样,请向 Apple 提交错误。
The only way I can see to do this at the moment is to publish the reminders to a calendar you host, and get the user to subscribe to it via CalDav. This is what Toodledo does. Although it requires the user to manually subscribe to the calendar.
The other option is to bypass the calendar and push notifications to the user as a reminder. This is not as resilient as the first method.
As with all these missing features, file a bug with Apple.