Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在通过此代码在我的设备日历中插入数据。
我想要这些事件的日期。
如果我通过日期并且我想获取事件名称。
提前致谢。
为此,您需要使用 EventKit/EventKitUI 框架。 请参考 Apple 提供的代码:这里这个示例展示了如何使用 EventKit 和 EventKitUI 框架来访问和编辑日历数据库中的日历数据。