3

I am trying to programmatically subscribe to a calendar. I got fairly close with my two liner, but now I am having issues with the name. I would like the notification to say something more user friendly such as "School Calendar" instead of the URL. Any recommendations for going about this?

NSString *url = @"webcal://ems.gonzaga.edu/MasterCalendar/iCalFeed.aspx?data=f1bM4GJyEC5fBiWFbx2IWQ%3d%3d";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];

enter image description here

Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215
mosca1337
  • 2,409
  • 3
  • 24
  • 27
  • related question (but no answer): http://stackoverflow.com/questions/16341006/how-to-set-a-title-description-for-a-subscription-calendar-webcal-ics-file – Raptor Oct 07 '13 at 05:47
  • thank you. I'll keep my eye on that one too – mosca1337 Oct 07 '13 at 23:44

1 Answers1

1

If you control both sides of this then you can use the X-WR-CALNAME field in your ICS file to provide a friendly name, I'm not aware of a way to do this purely on the client though.

Ian Phillips
  • 567
  • 4
  • 13