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

iOS Obj-C: How to open a local file with its default application?

I've searched & tried anything I've found on stackoverflow on this, but can't go on with this problem. I'm creating a GPS application that I want to interact with another one (which is specialized in aeronautic navigation) named SkyDemon. On this…
0
votes
1 answer

Can UIDocumentInteractionController be presented in SplitView?

I wan't to create an iOS app that has a SplitView much like the DropBox app. On the master side there is a file explorer and detail view would display file previews using UIDocumentInteractionController. So far I have not found any other way to…
0
votes
1 answer

UIDocument not working

I'm trying to open document file by following way but nothing happens. I tried other ways too but it didn't work for me. What is the correct way open Document file (doc,docx,pdf,ppt, etc.). I read somewhere by UIWebView() also this can be done so…
Nitesh
  • 1,564
  • 2
  • 26
  • 53
0
votes
1 answer

UIDocumentInteractionController does not work

In my application I download files of various formats. I'm trying to get the UIDocumentInteractionController to get the applications that can open this format. The problem is that the UIDocumentInteractionController is not working. This is my…
breno
  • 230
  • 2
  • 15
0
votes
1 answer

UINavigationBar appearance for UIDocumentInteractionController

I have an iOS app written in swift that overrides the default navigation bar background in AppDelegate: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { …
tishu
  • 998
  • 15
  • 29
0
votes
1 answer

how do I know UIDocumentInteractionController can not open a file?

UIDocumentInteractionController *documentVc = [UIDocumentInteractionController interactionControllerWithURL:fileURL]; documentVc.delegate = self; if (![documentVc respondsToSelector:@selector(presentPreviewAnimated:)]) { NSLog(@"can not open…
lyqflnh
  • 21
  • 3
0
votes
1 answer

viewing documents in ios10 using qlpreviewcontroller or uidocumentinteractioncontroller

does anyone know how to get rid of the thumbnail preview on the right side of viewer in ios10 when using qlpreviewcontroller or uidocumentinteractioncontroller. covers part of document and seems to be permanent now. i would take either it swiping…
Abbacore
  • 385
  • 1
  • 3
  • 8
0
votes
0 answers

Cannot download image through UIDocumentInteraction

i have task that download image through UIDocumentInteractionController, however when i clicked on the Save Image button, it displayed the error log as below: Video …
0
votes
0 answers

Detect completion of sharing to social networks using UIDocumentInteractionController

I'm trying to detect the ending of sharing to instagram through UIDocumentInteractionController. It's opening modal window (see screenshot below) and I want to know when it's dismissed. UIDocumentInteractionControllerDelegate doesn't help.
0
votes
1 answer

Quicklook/QLPreviewController shows a blank page instead of pdf in ios

I searched longtime but did'n get the exact solution for this! QLPreviewController not opening the documents,it showing only blank page.
Jiyas
  • 23
  • 8
0
votes
1 answer

iOS: Sharing image in social network Swift

I am running sample app in swift. I need to share image from my app. With the help of Social framework , I integrated Facebook and Twitter. Now I dont know how to integrate with Instagram and WhatsApp Share Button Action @IBAction func…
McDonal_11
  • 3,935
  • 6
  • 24
  • 55
0
votes
0 answers

UIDocumentInteractionController not works

Am using UIDocumentInteractionController to share file and to add openIn option to my app , but when i press send email i got an empty email , and i got the error from consol Attempting to load the view of a view controller while it is deallocating…
A.Munzer
  • 1,890
  • 1
  • 16
  • 27
0
votes
1 answer

UIDocumentInteractionController to open with URL from web without saving in Swift

I need to open a file from web url and open in other apps that have installed in the device using UIDocumentInteractionController var controller:UIDocumentInteractionController? self.controller? = UIDocumentInteractionController.init(URL:…
Dinesh Kumar
  • 165
  • 1
  • 14
0
votes
1 answer

It is showed up two same apps button in UIDocumentInteractionController popup

I appologize for my low level English. I developed Share Extension in my app to support the extention added at iOS8. But, my app has been already showing up in UIDocumentInteractionController popup. So, my app has been showing up two items for same…
strawnut
  • 359
  • 5
  • 21
0
votes
2 answers

Show "Open in" for MS Word, Excel, PPT in ios objective c

Is there any way I can show Open With or Open In window for ms office files I have seen UIDocumentInteractionController and QuickLook Framework but didn't work me. Does these two really support office files?
Arun
  • 31
  • 1
  • 3