A document interaction controller, along with a delegate object, provides in-app support for managing user interactions with files in the local system
27
votes
2answers
9k views
Supporting Open In… menu item in my app for iOS Mail And Safari
I need to have my app open documents from the Safari and Mail apps with that "Open In..." thing in the UIDocumentInteractionController class. How do I accomplish this?
18
votes
2answers
3k views
UIDocumentInteractionController adding custom actions to menu (eg email, save to photos)
I've started using UIDocumentInteractionController for a new app but I'm wondering how to add additional actions to the action menu that you get on the preview screen?
It seems that the menu only ...
14
votes
4answers
9k views
Adding Images to UIActionSheet buttons as in UIDocumentInteractionController?
Is it possible to add an image to the buttons of the UIActionSheet as in UIDocumentInteractionController? If so; how?
Thanks.
11
votes
1answer
2k views
Custom “Email” action in UIDocumentInteractionController
Is there any way to add a custom action to the list of actions provided by the UIDocumentInteractionController?
I would like to add an "Email" action to the list. I know I can use the ...
9
votes
2answers
2k views
UIDocumentInteractionController no longer works in iOS6
I have an app that shares with instagram built for iOS5 and now in iOS6, sharing no longer works although canOpenURL returns true and code executes. The images are saved to the documents folder of ...
9
votes
2answers
1k views
Open in + UIDocumentInteractionController : how to filter options in SDK iOS 6 (canPerformActions is deprecated)
Since the new SDK was release (iOS 6), the delegate method documentInteractionController:canPerformAction: of the UIDocumentInteractionControllerDelegate is deprecated.
Using that method you were ...
8
votes
2answers
1k views
How do I save additional content into my UIManagedDocument file packages?
I'm having a lot of trouble deciphering Apple's documentation around UIManagedDocument, specifically the following methods:
- (id)additionalContentForURL:(NSURL *)absoluteURL error:(NSError **)error
...
8
votes
2answers
3k views
Instagram open UTI directly
I recently stumbled upon the following interesting feature: Instagram iPhone Hooks
I was wondering if one is able to open an app through the documentinteractioncontroller immediately, WITHOUT having ...
7
votes
3answers
5k views
UIDocumentInteractionController for Open In menu - Doesn't Work
I implemented a UIDocumentInteractionController to send files to other apps. The file is a .txt file.
Here's the code:
UIDocumentInteractionController *interactionController = ...
7
votes
3answers
2k views
Using built-in icons for mime type or UTI type in iOS
Problem:
I would like to be able to use the built-in iOS icons for standard mime types (or UTI types) in my listing of binary file content.
Background:
I have looked into using the new (since 3.2) ...
6
votes
1answer
4k views
iOS App-to-App Trasnmission of Data using new Document Support API
Problem:
Building Enterprise Applications of a Suite Nature, and need to be able to pass data from one application to another. Example: App1 is a barcode reader that produces and inventory list. ...
6
votes
3answers
145 views
Check if any apps are associated with file extension
I want to make "Open in.." function in my iOS application.
Is there any way to check if any app on this device is associated with file extension that i want to share?
If there are no apps on current ...
5
votes
3answers
2k views
Display encrypted file using QuickLook framework or UiDocumentInteractionController
I have an encrypted word/excel/pdf file locally stored which I need to preview in my iPad app. I understand that QLPreviewController or UiDocumentInteractionController could be used to preview these ...
5
votes
1answer
2k views
Register for all file types (CFBundleDocumentTypes)
Programs like Drop Box, or Airsharing don't handle or edit documents but store them. In this case it would seem that they have to register as being a valid choice for any type of file. Is there a ...
5
votes
1answer
7k views
DocInteraction sample code (UIDocumentInteractionController) broken on iOS 4.3 simulator
The DocInteraction sample code made available by Apple at http://developer.apple.com/library/ios/#samplecode/DocInteraction/Introduction/Intro.html
(download: ...