对 EKEventStatus 感到困惑

Feel confused about EKEventStatus

有谁知道EKEventStatus的意思吗?查了苹果的文档,还是没明白意思。我想在日历数据库中获取状态未完成或撤消的事件。

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

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

简而言之,他们会告诉您会议是否已确认、取消等。取决于上下文。