uidocumentinteraction Questions

2

I have code to show a document as follows: documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:self.thisUrl]; NSString *pathExtension = [self.thisUrl pat...
Declare asked 2/6, 2015 at 5:13

4

Solved

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 thes...
Parquetry asked 18/1, 2012 at 21:2

1

I have an ics (Calendar) file that I'm opening with a UIDocumentInteractionController, using presentOptionsMenuFromRect:. When this runs, the "Open In" menu looks like this. As you can see, no "Ad...
Marriageable asked 13/1, 2015 at 17:10

1

Solved

I'm trying to preview a document with UIDocumentInteractionController. The document is an .xls file which my app downloads from the web. I keep getting this error: 'UIDocumentInteractionController...
Assizes asked 20/2, 2015 at 10:28

1

I am trying to load files in device by using UIDocumentInteractionController in a phonegap app. I have done by following. #import <Foundation/Foundation.h> #import <QuickLook/QuickLook.h&...

2

Solved

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 MFMailCompos...
Sinister asked 14/4, 2011 at 21:52

4

Solved

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 ...

3

I have a PDF file saved in the document directory. The path to the file is stored in a NSString property 'self.URL'. Here is my code to present the activity items: -(void)presentDocumentInteractio...
Alexanderalexandr asked 23/9, 2014 at 21:33

1

Solved

I have a very strange (& serious) problem. My app uses a UIDocumentInteractionController to share a PDF document. When the user selects the "Mail" option in the controller's pop-up the MailCom...
Flouncing asked 24/10, 2014 at 9:47

1

Solved

I've got a very simple test app which contains nothing but the following code, attached to a UIButton: - (IBAction)buttonUp:(id)sender { // Build file path NSString* filePath = [[NSBundle mainB...
Lunette asked 1/9, 2014 at 14:6

2

Solved

I'm trying to display a pdf on iOS devices using the UIDocumentInteractionController presentPreviewAnimated method, but it keeps displaying a blank document. I think it might have to do with the ch...
Hyksos asked 21/8, 2014 at 15:19

0

I've managed to open an ics file stored locally, and the UIDocumentInteractionController recognizes it the UTI as com.apple.ical.ics (which is expected). The data displays as I was hoping, for the ...
Rick asked 14/8, 2014 at 19:20

2

Solved

I'm already able to share photos to Whatsapp but the way I do this is by providing Whatsapp option in a UIActivityViewController and then showing a UIDocumentInteractionController. From this UIDoc...

1

I'm sharing a PDF to other apps through the UIDocumentInteractionController. Prior to adding this functionality, I had a custom 'send to email' button using the MFMailComposeViewController - yet no...
Through asked 30/1, 2014 at 12:53

1

Solved

I am attempting to display an Open In menu via UIDocumentInteractionController and presentOpenInMenuFromBarButtonItem. This does not bring up the UIDocumentInteractionController on screen. The weir...

2

In my app, I'm allowing users to share photos via Instagram, which requires the use of UIDocumentInteractionController. Airdrop is automatically detected if the phone supports it. How do I remove...

1

Solved

Heres the UIDocuemtnInteractionController from my application(does not show mail option) Here the one that Apples sample project uses Here are the respective codes My application docInteracti...
Sangsanger asked 28/4, 2014 at 8:41

0

How do you share an .mp4 video file to Instagram? I can share images like this: NSString* filename = [NSString stringWithFormat:@"testImage.igo"]; NSString* savePath = [imagesPath stringByAppendi...
Proceleusmatic asked 24/3, 2014 at 23:26

2

Solved

Ok, so what I am trying to do is create a Document Viewer that is similar this picture: Basically what should happen is, when the screen is tapped anywhere, the top and bottom bar will appear. Ta...
Hammond asked 15/5, 2012 at 17:19

2

I just read some articles on UIActivityViewController and UIDocumentInteractionController in iOS, but I am very confused about how to use them because both seem the same. So, when do I use UIActiv...

2

Solved

I wanted to know if I can hide the Action button on the UIDocumentInteractionController so a user couldn't actually open the document in another app?
Hamite asked 24/5, 2011 at 21:26

0

I am intercepting a type of URL in the webview I use in my app in order to download the file that it links to instead of just trying to open it in the webview. The link is to a .ics file. So I down...
Grote asked 16/9, 2013 at 14:42

3

Solved

I want to open native IOS calendar(ical) from my application and add event. Is there any way i can open calendar for particular event? I also follow Open iphone calendar app programmatically but ...
Ensheathe asked 1/4, 2013 at 11:4

3

Solved

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 curr...
Kleper asked 14/3, 2013 at 11:42

2

Solved

Since the new SDK was release (iOS 6), the delegate method documentInteractionController:canPerformAction: of the UIDocumentInteractionControllerDelegate is deprecated. Using that method you were ...
Hermaphroditus asked 25/9, 2012 at 22:13

© 2022 - 2024 — McMap. All rights reserved.