Questions tagged [uidocumentpickervc]

97 questions
1
vote
0 answers

React-Native-fs wont open my uri from document-picker

I pick a file via DocumentPicker, get the URI, and pass it to a function which should open my Document (csv). But i get the Error ENSCOCOAERRORDOMAIN260. Also i tried to see if there's an file -nope. But i just selected it via DocumentPicker (i get…
1
vote
0 answers

Add an environment object to UIDocumentPickerViewController

I'm trying to import mp3 files into my app from outside the app's sandbox using the file browser. I have a "store" environment object where i have the folder URL to which I'd like to move the selected file. I want to add that store as an environment…
1
vote
2 answers

Picking a Folder from iCloud with Document Picker

I'm trying to import a folder from iCloud with Document Picker to upload it to a server, using Alamofire. I can import a single file like .txt .pdf files from iCloud, but I can't pick a folder which has some files in it. I'm getting the following…
Nilay Dagdemir
  • 236
  • 2
  • 15
1
vote
2 answers

Where to use popToRootViewController to pop extra VC off stack?

I have a view controller with two buttons: Button1 brings up the documentPickerViewController and lets user pick a file. Button2 goes to a second view controller. Button1 is linked to "openFile" in the code below. Button2 calls the segue to the…
Bevan
  • 179
  • 1
  • 12
1
vote
2 answers

UIDocumentPickerViewController buttons look disabled but work -- why?

I am using UIDocumentPickerViewController to export images to the Files app in iOS 11. The picker comes up, and I am able to pick a destination for the files. I get the callback that the files were moved and I can see them in Files, so that appears…
Nik Bhatt
  • 373
  • 3
  • 12
1
vote
1 answer

UIDocumentPicker can not display Browse at iOS 11

I wrote a program of UIDocumentPicker. However, if I tap "Browse" on the iOS 11 simulator, loading continues to be displayed and could not be displayed. What kind of response is necessary? Development environment Xcode: Version 9.0 beta…
amarron
  • 91
  • 1
  • 9
1
vote
0 answers

Select .xps file from google drive

I want to select .xps file from google drive using document picker but file shows unable to select. I am able to select this file from iCloud without any changes but not from google drive. I don't want to use google drive SDK. I have tried this…
1
vote
1 answer

How to implement file browser like android in Xamarin forms IOS

Currently I am using File picker plugin(https://github.com/Studyxnet/FilePicker-Plugin-for-Xamarin-and-Windows) to browse and attach files in my application. Its an cross platform plugin to upload documents. but in this plugin when we want to upload…
1
vote
0 answers

How to retrieve the list of documents from iCloud without using UIDocumentPickerViewController?

I open picker with documents from iCloud with the following code: let picker = UIDocumentPickerViewController(documentTypes: ["public.content"], in: .import) picker.modalPresentationStyle = .formSheet picker.delegate = self self.present(picker,…
Marina
  • 1,177
  • 4
  • 14
  • 27
1
vote
0 answers

swift: UIDocumentPickerViewController-plugin com.apple.UIKit.fileprovider.default invalidated

I have a problem regarding the plugin configuration.I searched but found no answers anywhere. Here is my code import UIKit import MobileCoreServices class ViewController: UIViewController, UIDocumentPickerDelegate,UITextViewDelegate { @IBOutlet…
Niroj
  • 1,114
  • 6
  • 29
1
vote
1 answer

Should I remove files imported with UIDocumentPicker?

So I'm importing a file in my app with UIDocumentPicker let documentMenu = UIDocumentMenuViewController(documentTypes: ["public.xml"], in: .import) documentMenu.modalPresentationStyle = .formSheet documentMenu.delegate = self …
trusk
  • 1,634
  • 2
  • 18
  • 32
1
vote
1 answer

Limit UIDocumentPickerViewController to pick sqlite files from iCloud Drive

I am trying to set UIDocumentPickerViewController to only allow selection of files with .sqlite extension with a dynamic UTI. I don't want to define this as a document type for my app since I cannot handle any sqlite file, I just want to enable…
Aaron
  • 252
  • 3
  • 16
1
vote
0 answers

how to select multiple file using UIDocumentPicker in IOS

Through this only one file can be selected - (void)Choose:(UIButton *)sender { NSArray *arry = [[NSArray alloc] initWithObjects:@"public.data", nil]; UIDocumentPickerViewController *pickDoc = [[UIDocumentPickerViewController alloc]…
1
vote
1 answer

UIDocumentPickerViewController Limitations, Multiple Files selection at once

In order to be able to access iCloud Drive from the application, I think that we want to use UIDocumentPickerViewController from the application. but i found following problems when i use UIDocumentPickerViewController. Cannot upload multiple files…
Sabareesh
  • 3,585
  • 2
  • 24
  • 42
1
vote
1 answer

UIDocumentPickerViewController and iWork Documents not Loading

I started implementing UIDocumentPickerViewController today and I've hit a brick wall. I've gotten it to import documents and give me the NSURL for it, but when I use an iWork document, the NSData that I use is null. Its probably because the iWork…
BlueSpud
  • 1,555
  • 3
  • 19
  • 44