I have an iPhone app, and I would like it so that when a user clicks on a .pdf file as an email attachment, my App is one of the options to open it with. After some research, it seems that I need to add a Document Type in the info.plist. Problem is, I cannot find ANY tutorials explaining how to use the new Document Type GUI:
Image here:
Can anybody help me?
This "Document Types" editor feature may be so new (was it introduced in 4.2) that the documentation sloths haven't had time to write anything about it.
I did find this Technical Q&A document that describes "How do I get my application to show up in the 'Open in...' menu on iOS for a specific document type?", which basically introduces the Xcode developer to the Document Types editor.
And more low level documentation.
If you understand these basics and can figure out how to edit a raw Info.plist file, you should be good to go!
I hope this information helps you out.
It looks like there's still no official documentation on this. With the help of this SO answer describing how to write the info.plist file, I came up with this in Xcode 4.5.1:
This set of properties seems to be the minimum to get your app to run by tapping on an email attachment.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With