Questions tagged [uidocumentinteraction]

A document interaction controller, along with a delegate object, provides in-app support for managing user interactions with files in the local system

A document interaction controller, along with a delegate object, provides in-app support for managing user interactions with files in the local system. For example, an email program might use this class to allow the user to preview attachments and open them in other apps. Use this class to present an appropriate user interface for previewing, opening, copying, or printing a specified file.

More: UIDocumentInteractionController Class Reference

334 questions
0
votes
1 answer

UIDocumentInteractionController crash with presentOpenInMenuFromBarButtonItem: method

I tried to open a pdf file with the "Open in" menu, but when I create it, the code crash when I call the presentOpenInMenuFromBarButtonItem method UIDocumentInteractionController * controller; controller = [UIDocumentInteractionController…
Anthony
  • 2,801
  • 3
  • 30
  • 49
0
votes
3 answers

Objective C: Multiple Downloads

I am trying to make an app that downloads a pdf file from an online server. What I did was I created 3 buttons that has 3 different URLs and save it to the app's sandbox and open it in iBooks. But it crashes the app and I am having this error…
0
votes
2 answers

Objective C: Opening A PDF File on iBooks

I am downloading a PDF file from an online server and save it to my the App's Sandbox then view it in iBooks. The iBooks viewing is what i am struggling now. I tried this code: UIDocumentInteractionController *docController =…
0
votes
1 answer

Is there any way I can tell if a menu event has occurred using UIDocumentInteractionController?

I've only just started in iOS development so bear with me. I'm building an app for a friend and one of the pieces of functionality is being able to post to Instagram a picture the user takes within the app. I have a UIImageView and a UIView…
0
votes
2 answers

iOS, is there a temporary directory that all applications can see?

Is there a temporary directory that all applications have access to in iOS so that files can be passed between them? Please Note: I understand the "Open In" menu of UIDocumentInteractionController. I'm hoping to pass a file by calling openURL on…
John Fowler
  • 3,173
  • 3
  • 18
  • 31
0
votes
0 answers

In iOS, can you open a file in another application without calling the "Open In" Menu?

Using UIDocumentInteractionController, I can open an "Open In" menu for a File URL. If there is only one application that can handle (viewer/editor) that type of file, three options are presented: The Viewer Application Mail Copy Is there a way I…
John Fowler
  • 3,173
  • 3
  • 18
  • 31
0
votes
2 answers

Adding a 'save to' location to Pages on iPad

I know that it is possible to use UIDocumentInteractionController to give the user a chance to open a document, say a Word document, in an application such as Pages. Is it possible in any way to do the reverse: that is, allow a user to save the…
Chris K
  • 435
  • 2
  • 10
0
votes
1 answer

iOS Register for .p12 file types (cfbundledocumenttypes)

I want to read on my app a .p12 file that will be sent to users email. But the option "open in" does not appear for .p12 files. I tried public.data and I can see the "open in" option in all files(I tried images, pdf, html files) except for .p12…
António
  • 975
  • 1
  • 12
  • 31
0
votes
1 answer

Force "open in..." selection

My code at the moment looks like this: - (UIDocumentInteractionController *) setupControllerWithURL:(NSURL *)fileURL usingDelegate:(id ) interactionDelegate…
Lewis
  • 159
  • 10
0
votes
1 answer

How to read pdf from anather app in our app?

I want to read pdf from various application which support pdf (iBook or another), And I want to browse that pdf in our app. How can I achieve this? Plz help me ..
user4003752
0
votes
1 answer

UIDocumentInteractionController Open In menu makes toolbar items disappear in iPhone

I have a UIToolbar adding to the view, and the toolbar has several UIBarButtonItem. And one of the buttons will call out the UIDocumentInteractionController Open In menu. In iPhone, the Open In menu works like a UIActionSheet, it will show up from…
Keyser
  • 21
  • 4
0
votes
1 answer

add Photos app to "Open in" menu- IOS?

I'm creating an "Open in" menu in my app with UIDocumentInteractionController. I want to add native Photos app to this menu but I don't know how to do that? Can anyone point me a way?
The Bird
  • 397
  • 2
  • 8
  • 19
0
votes
1 answer

UIDocumentInteractionController crashes caught by Exception Breakpoint

I am using the UIDocumentInteractionController to preview pdf files. I display the controller as follows: self.docInteractionController = [UIDocumentInteractionController interactionControllerWithURL:pdfUrl]; …
0
votes
1 answer

Change UIDocument Interaction Icons

Possible Duplicate: Change UIDocumentInteractionController Icons I currently have a UITableView in my app that uses the UIDocumentInteractionController to show a default image for a certain file type: I was wondering if i have a place holder…
0
votes
1 answer

DocumentInteractionController annotation property not passed to second app

I implemented a DocumentInteractionCotroller (let's refer to it as docInter) in app #1 to pass an image to app #2 (pretty much the way instagram does it http://instagr.am/developer/iphone-hooks/). Everything is fine except for one thing: when app 2…
1 2 3
22
23