开发者

Is it possible to subscribe a calendar from an iPhone app?

开发者 https://www.devze.com 2023-04-06 03:29 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消