Reputation: 518
I am currently making and iphone app and a big function that i want to incorporate is the ability to subscribe to a calendar.. what i wish to do is to let the user give a URL for where the calendar is held, and from that url i want the app to fetch that calendar and subscribe to it..
i want to know how i can write the code to do this..
so in short my question is..
what code would i write to:
any help and info would be very much appreciated..
Upvotes: 0
Views: 1310
Reputation: 5266
The idea of "subscribing" to something isn't a build in function of the iOS SDK. To get this type of functionality would mean writing a recurring/timed function to grab the contents of this URL and process it locally.
The library I often use to simplify some of the HTTP functionality that you'll need is asi-http-request
https://github.com/pokeb/asi-http-request/tree
Hope this is helpful.
Upvotes: 1