Subscribe to calendar

In my app we want to subscribe the person to an .ics calendar file that lives on our server. I can't for the life of me figure out how to do this.

Answered by bpapa in 212277022

Assuming you have a webcal URL for it, just call UIApplication's open(_:options:completionHandler:) function to open the webcal URL, the system will handle the rest.

Accepted Answer

Assuming you have a webcal URL for it, just call UIApplication's open(_:options:completionHandler:) function to open the webcal URL, the system will handle the rest.

The 'webcal' part was actually the piece I was forgetting. Thanks.

Subscribe to calendar
 
 
Q