¡@

Home 

2014/10/15 ¤U¤È 10:04:59

iphone Programming Glossary: cfbundledocumenttypes

How do I associate file types with an iPhone application?

http://stackoverflow.com/questions/2774343/how-do-i-associate-file-types-with-an-iphone-application

supported application. To register support you will need to have something like the following in your Info.plist key CFBundleDocumentTypes key array dict key CFBundleTypeIconFiles key array string Document molecules 320.png string string Document molecules 64.png..

UIDocumentInteractionController - our own app shows up in list

http://stackoverflow.com/questions/3167590/uidocumentinteractioncontroller-our-own-app-shows-up-in-list

to both hand off files to other applications as well as receive files from other applications. So we edit the plist CFBundleDocumentTypes to say that we can deal with Pages files. 'Default' mode. When the user wants to send a .pages file onto another application.. But as the document types that your application is capable of opening is specified in the Info.plist with the CFBundleDocumentTypes key you can't modify it at runtime. Too bad. I don't see anything else helpful for this in the APIs. Your best hope is to..

How to show “Open In…” when a user tries to open email attachments in iOS

http://stackoverflow.com/questions/3401900/how-to-show-open-in-when-a-user-tries-to-open-email-attachments-in-ios

share improve this question Your app has to register its ability to open specific file types by setting the CFBundleDocumentTypes in its plist . Here's an example of GoodReader's XML for opening PDFs . When you app is called to open a file you can find..

Creating my own file extension based on plist

http://stackoverflow.com/questions/3827558/creating-my-own-file-extension-based-on-plist

string key UTTypeTagSpecification key dict key public.filename extension key string mndl string dict dict array key CFBundleDocumentTypes key array dict key CFBundleTypeIconFiles key array string Document320Icon.png string string Document64Icon.png string..

Adding “Open In…” option to iOS app

http://stackoverflow.com/questions/3981199/adding-open-in-option-to-ios-app

iOS app On iOS devices the Mail app offers Open In... option for attachments. The apps listed have registered their CFBundleDocumentTypes with the OS. What I am wondering is how my app might allow users to open files generated by my app in other apps. Is Mail..

How do I register a custom filetype in iOS

http://stackoverflow.com/questions/4186401/how-do-i-register-a-custom-filetype-in-ios

app say .MyBackup . The user can then either export via email or with iTunes file sharing. I have already read about CFBundleDocumentTypes but didn't really get what I had to do with them. The part where i am currently stuck at is how to associate my extension.. that part of my projects info.plist without much further explanation. I think it's pretty much self explanatory. key CFBundleDocumentTypes key array dict key CFBundleTypeIconFiles key array string Icon iPad doc320.png string string Icon iPad doc.png string array..

Add a file association with tiff files on iOS

http://stackoverflow.com/questions/5094088/add-a-file-association-with-tiff-files-on-ios

for opening tiff files from Mail or Safari . Adding the following to my Info.plist file doesn't seem to work key CFBundleDocumentTypes key array dict key CFBundleTypeName key string tiff string key LSItemContentTypes key array string public.tiff string array..

Why can't I register my iOS application to handle the image file type?

http://stackoverflow.com/questions/9197757/why-cant-i-register-my-ios-application-to-handle-the-image-file-type

registering image file types to my application. I tried adding the code below to my plist but nothing happens. key CFBundleDocumentTypes key array dict key CFBundleTypeName key string Scary Bug Document string key LSHandlerRank key string Alternate string key..

Register app to open image files

http://stackoverflow.com/questions/9481534/register-app-to-open-image-files

image files I have successfully registered my app to open PDF files by including the following in my info.plist key CFBundleDocumentTypes key array dict key CFBundleTypeName key string PDF string key LSHandlerRank key string Alternate string key LSItemContentTypes..