Questions tagged [uidocumentmenuvc]
14 questions
20
votes
4 answers
How to open the Document files e.g(.pdf,.doc,.docx) in ios mobile when a button action using swift3.0?
I need to open UIDocumentPickerViewController and It should allow user to select all type of files. ie.(.pdf,.doc)files I used UIDocumentPickerViewController method.
my Code:
UIDocumentPickerDelegate, UIDocumentMenuDelegate in my class declaration…

mouni
- 327
- 1
- 3
- 15
20
votes
1 answer
UIDocumentMenuViewController dismisses presenting view controller
I have a VC "A" that present VC "B" modally. B presents a UIDocumentMenuViewController
The UIDocumentMenuDelegate protocol is implemented in B.
As soon as documentMenuWasCancelled(_ documentMenu:) or documentMenu(_:didPickDocumentPicker:) gets…

Lukas Würzburger
- 6,543
- 7
- 41
- 75
6
votes
2 answers
UIDocumentMenuViewController crashes on iPad but not on iPhone
Presenting a UIDocumentMenuViewController to be able to load file into app. On iPhone it works, but not on iPad. Using iOS9. Any idea what is wrong?
dmvc = UIDocumentMenuViewController(documentTypes: ["public.data"], inMode: .Import)
dmvc!.delegate…

János
- 32,867
- 38
- 193
- 353
3
votes
1 answer
UIDocumentMenuViewController more button
I have the code below in my app and when I click the "More" button, the dropbox option is displayed and disappear quickly, not allowing to enable.
UIDocumentMenuViewController *picker = [[UIDocumentMenuViewController alloc]
…

Auguimar Júnior
- 99
- 1
- 8
3
votes
1 answer
google drive options is not visible in UIDocumentMenuViewController in IOS10
We have developed chat application and in that app there is one feature of file sharing like whatsapp, Its all working fine in up to iOS9.x, but when I test it in iOS10, google drive option immediately disappear.
That is what I am trying to describe…

SAMIR RATHOD
- 3,512
- 1
- 20
- 45
1
vote
2 answers
Custom image for UIDocumentMenuViewController only shows blue box
I'm trying to add a custom icon for a UIDocumentMenuViewController but the only thing that appears is a blue square. I've tried it with different files too.
@IBAction func importAction(sender: UIButton) {
let importMenu:…

MScottWaller
- 3,321
- 2
- 24
- 47
1
vote
1 answer
Imported packaged files ".key .numbers .pages" from iCloud using UIDocumentMenuViewController are not opening in UIWebView
Hi I am trying to display a packaged file say .key/.pages/.numbers file to user in a UIWebView but I cant. The keynote file was created using a Keynote app from my iPad recently. I imported that file to my app using UIDocumentMenuViewController from…

user2558386
- 11
- 2
0
votes
1 answer
UIDocumentPickerModeExportToService does not show Drive or DropBox in iOS11
I have been using UIDocumentMenuViewController and UIDocumentPickerViewController in my app to import images and pdfs from 3rd party apps like Google Drive, DropBox, iCloud etc. This is also used for exporting some pdfs from my app to these other…

vb11
- 253
- 1
- 2
- 9
0
votes
1 answer
which is this controller in iOS
I was surfing some site in safari. it was attachment button. when I clicked on that button. it showed this controller. Can any1 tell me which is this default functionality safari provide. it is dere in various apps too like slack.
its shows…

vaibby
- 1,255
- 1
- 9
- 23
0
votes
1 answer
How do you create a new document using UIDocumentBrowserViewController in Xcode 9 beta 2?
I am having problems with UIDocumentBrowserViewController Bug in Xcode 9 Beta 2, was working with beta 1.
The symptom is that you can't create a new document, on most pages the + icon is missing or greyed out. On the browse page it is present and…

Howard Lovatt
- 968
- 1
- 8
- 15
0
votes
2 answers
Why UIDocumentMenu Delegate to self doesn't work?
I am following Apple documentation for UIDocumentMenuViewController and the following is my code. importMenu.delegate = self doesn't work and Xcode shows: Cannot assign value of type 'ViewController' to type 'UIDocumentMenuDelegate?' . Please help.…

Mike
- 7
- 4
0
votes
1 answer
UIDocumentMenuViewController gets crash
I'm using Document Menu in my app, if I try to choose particular provider from Document Menu list e.g. Dropbox component gets crash.
crash log:
plugin com.apple.UIKit.fileprovider.default invalidated
I couldn't find any solution for my…

Robert
- 3,790
- 1
- 27
- 46
0
votes
1 answer
Importing of documents via UIDocumentMenuViewController in iOS 9 stuck at loading
It works properly in iOS 8, but in iOS 9 it gets stuck when selecting a document file, the image of being stuck is below:
Code:
UIDocumentMenuViewController *importMenu = [[UIDocumentMenuViewController alloc] initWithDocumentTypes:@[@"public.item",…

Bryan P
- 4,142
- 5
- 41
- 60
0
votes
1 answer
UIDocumentMenuViewController / UIDocumentPickerViewController slow to show in view
I am trying to use the iOS file picker to select text files but when I instantiate and present (modally) a UIDocumentMenuViewController or a UIDocumentPickerViewController the UI takes a while to show up.
This is the code I tried to use for the…

cescofry
- 3,706
- 3
- 26
- 22