UIDocumentInteractionController handles ics files

I was able to open the ics file stored locally and the UIDocumentInteractionController recognizes its UTI as com.apple.ical.ics

(which is expected). The data is displayed as I hoped, for the most part:

enter image description here

I had the impression of the docs that it UIDocumentInteractionController

will automatically recognize this type of ics file and provide some calendar related options, however it seems to me that I do not need to add these events to my calendar from this point of view. In the Open In menu, I see Mail and Dropbox as options, but not Calendar. If I email it, I can add events from the mail app. Am I missing something because of how this view works? Mobile Safari handles ics files in the same way, except that there is an Add All button in the title bar. This is exactly how I thought it would behave. I would rather not use EventKit at this point, as I would just like to emulate the way safari handles the file.

+3
ios cocoa-touch uidocumentinteraction


source to share


No one has answered this question yet

Check out similar questions:

6
iOS: error sending app file to Dropbox using UIDocumentInteractionController
4
Custom File Types with iOS Document Interaction Programming
3
Importing the .ics file to the iOS users calendar
2
How to maintain / parse ALL file types (UTIs) in iOS?
2
Processing ics data in UIWebView
2
Opening ICS file using UIDocumentInteractionController on iOS> 5
2
How can I set the UIDocumentInteractionController Calendar as an option to open the .ics file?
1
"Open in ..." mobile safari against mail or other iOS app
1
Accessing UIDocumentInteractionController Calendar
0
UIDocumentInteractionController can only upload PDF using Mail app



All Articles
Loading...
X
Show
Funny
Dev
Pics