Pretty sure it's not possible, but I cannot find a definitive answer.
Simply, I want to add a button to my iPhone app that subscribes the user to a relevant iCal feed.
I'm assuming开发者_运维百科 since there's lack of documentation that this isn't possible, and that the best I can do is provide instructions and a link to copy and paste?
If you are talking about .ics links, try something like this:
NSString *url = @"http://server/filename.ics";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:url]];
This shows an uialertview with the question to the user if he/she wants to subscribe.
精彩评论