EKEvent在iOS上标记为Exchange事件的私有

时间:2016-02-16 14:08:28

标签: ios exchange-server eventkit ekevent

我目前正在开展一个项目,我需要访问该项目是否标记为私有。这是Exchange日历中最常见的功能。

该功能在原生iOS日历应用程序中可用,但也在第三方日历应用程序(如Fantastical)中可用,这使我相信它不一定是私有API。

这里是Fantastical中标记为私人的事件的图片:

Fantastical handling private property

但是,在查看EKEvent时,我发现没有任何迹象表明事件是私有的。

以下是EKEvent的印刷品:

EKEvent <0x13fcb80c0>
{
     EKEvent <0x13fcb80c0>
{    title =        So private; 
     location =     ; 
     calendar =     EKCalendar <0x13fef4110> {title = Calendar; type = Exchange; allowsModify = YES; color = #FF9500;}; 
     alarms =       (null); 
     URL =          (null); 
     lastModified = 2016-02-16 12:14:24 +0000; 
     startTimeZone =    Europe/Berlin (GMT+1) offset 3600; 
     startTimeZone =    Europe/Berlin (GMT+1) offset 3600 
}; 
     location =     ; 
     structuredLocation =   (null); 
     startDate =    2016-02-16 12:00:00 +0000; 
     endDate =      2016-02-16 14:00:00 +0000; 
     allDay =       0; 
     floating =     0; 
     recurrence =   (null); 
     attendees =    (null); 
     travelTime =   (null); 
     startLocation =    (null);
};

当打印在EKCalendarItem上找到的notes属性时,我得到:(NSTaggedPointerString *) $34 = 0xa00000000000a0d2 @"\r\n",这似乎不是一个私人设置的明显显示。

我错过了什么? Fantastical如何获得活动的私人财产?

0 个答案:

没有答案