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.
我正在使用 EKEventStore saveEvent 将自定义事件保存到日历中,返回值是布尔值,因此如果存储过程失败,我可以处理。是否有机会轻松找出此事件的唯一标识符,以便之后使用 eventWithIdentifier 获取它?我不想按日期进行选择,因为它可能会返回一个以上的结果。是否有任何其他可能性来获取“我的”事件?
(NSString *) uniqueIdentifier = myEvent.eventIdentifier;
就是这样。