iOS Question iEventKit - Events from one calendar only?

Andrew (Digitwell)

Well-Known Member
Licensed User
Is it possible to request events from only one calendar?

Using the following code I can check the calendar in the events returned from FindEvents.

  For Each e As CalendarEvent In Events
        Private no As NativeObject = e
        Private calno As NativeObject = no.GetField("calendar")
        Private cal As String = calno.GetField("title").AsString
        Log("Event - " & e.Title & " from " & cal)
        if (cal = mycalname) then
              'Only save events for my calendar
        end if

However, it woud be great if I could only request events for mycalname in the first place.