Swift EKCalendar显示事件“;在自然语言中找到”;苹果日历上没有的

Swift EKCalendar显示事件“;在自然语言中找到”;苹果日历上没有的,swift,calendar,ekevent,ekcalendar,Swift,Calendar,Ekevent,Ekcalendar,我目前正在阅读所有日历事件,其功能类似于此处所述: i、 e 现在,在运行iOS 12.1.1的iPhoneX上,我可以看到一个名为“自然语言”的日历中的各种事件。我知道这些应该是Siri在Mail等应用程序中发现的事件。我在iPhone设置->日历下打开了这个选项。然而,奇怪的是,苹果的iOS日历并没有显示这些事件,即使Find by Siri日历已打开。一些日历应用程序(如Fantastic)也不会显示它们,而其他一些应用程序(如Vantage calendar)则会显示它们 这怎么可能呢?

我目前正在阅读所有日历事件,其功能类似于此处所述:

i、 e

现在,在运行iOS 12.1.1的iPhoneX上,我可以看到一个名为“自然语言”的日历中的各种事件。我知道这些应该是Siri在Mail等应用程序中发现的事件。我在iPhone设置->日历下打开了这个选项。然而,奇怪的是,苹果的iOS日历并没有显示这些事件,即使Find by Siri日历已打开。一些日历应用程序(如Fantastic)也不会显示它们,而其他一些应用程序(如Vantage calendar)则会显示它们


这怎么可能呢?

这也发生在我身上。一位朋友给我发了一封电子邮件,提到他们的结婚纪念日。Siri找到了它,并将其标记为可以添加到日历中的内容。我最初并没有在《邮件》中发现这一点,也并没有Fantastic日历或Apple日历,但Vantage有。因此,我认为Vantage显示的是Siri建议的项目,而它应该只显示已找到并接受并添加到日历中的项目。

同样的问题;你找到解决办法了吗?
        // Use an event store instance to create and properly configure an NSPredicate
        let eventsPredicate = eventStore.predicateForEventsWithStartDate(startDate, endDate: endDate, calendars: [calendar])

        // Use the configured NSPredicate to find and return events in the store that match
        self.events = eventStore.eventsMatchingPredicate(eventsPredicate).sort(){
            (e1: EKEvent, e2: EKEvent) -> Bool in
            return e1.startDate.compare(e2.startDate) == NSComparisonResult.OrderedAscending
        }