对EKEventStatus

时间:2015-05-14 10:23:50

标签: ios eventkit ekevent

有谁知道EKEventStatus的含义?我搜索过Apple的文档,但我仍然无法理解其含义。我想在日历数据库中获取状态未完成或撤消的事件。

https://developer.apple.com/library/prerelease/ios/documentation/EventKit/Reference/EKEventClassRef/index.html#//apple_ref/c/tdef/EKEventStatus

EKEventStatusNone
The event has no status

Available in iOS 4.0 and later

EKEventStatusConfirmed
The event is confirmed

Available in iOS 4.0 and later

EKEventStatusTentative
The event is tentative

Available in iOS 4.0 and later

EKEventStatusCanceled
The event is canceled

Available in iOS 4.0 and later

1 个答案:

答案 0 :(得分:2)

这些字段的含义对应于RFC 5545 section 3.8.1.11中指定的iCalendar VEVENT的STATUS属性。

简而言之,他们会告诉您会议是否已经确认,取消等等。取决于具体情况。