xcode 将日历构建到 iOS 应用程序中
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7154450/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Build Calendar into iOS App
提问by Brandon
I am building a iPad app that will have a calendar and that calendar will pull down its events from CalDav or from .ics.
我正在构建一个 iPad 应用程序,它将有一个日历,该日历将从 CalDav 或 .ics 中提取其事件。
Does anyone know of any sample code that shows the basic structure on how to do this. Is their a Calendar controller already in xCode?
有谁知道显示有关如何执行此操作的基本结构的任何示例代码。他们的日历控制器已经在 xCode 中了吗?
回答by Tendulkar
You can use the TapKu Library.It may be helpful .
您可以使用 TapKu 库。它可能会有所帮助。
http://developinginthedark.com/posts/iphone-tapku-calendar-markers
http://developinginthedark.com/posts/iphone-tapku-calendar-markers
回答by Simon
Not sure about CalDav of .ics but you can access the calendar using the Event Kit (from iOS 4.0). It lets you query and create calendar entries and suchlike.
不确定 .ics 的 CalDav,但您可以使用 Event Kit(来自 iOS 4.0)访问日历。它允许您查询和创建日历条目等。