Get events from a calendar url

I have an ical url to a calendar. I want to get the events of that day without a user needing to add the calendar to their iPhone. Can someone help me, because I don’t know where to start. This is iOS.

Replies

Try doing a GET HTTP request on the URL. It should send back an ICS file containing the events for the calendar. You could then parse this to find the events in the calendar. There's no EventKit api to parse an ICS file or to resolve an iCal URL to EventKit objects.