Search code examples
iphoneobjective-ciosnscalendar

How to get calendar events by date?


I am inserting data in my device calendar by this code.

i want those events by date.

if i pass date and i want to get event name.

thanks in advance.


Solution

  • For that you need to use EventKit/EventKitUI framework.
    please refer code provided by Apple : Here This sample shows how to use EventKit and EventKitUI frameworks to access and edit calendar data in the Calendar database.