Questions tagged [uidocumentpickervc]

97 questions
0
votes
0 answers

How to select different format types in document picker?

I want to select specific document in iCloud document picker. But When i write more than 7 format types it'd given me error. Error : expression was too complex to be solved in reasonable time consider breaking up the expression ERROR IMAGE I have…
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…
0
votes
0 answers

Google Drive through iOS’s picker disable .apk and .ipa files

Here i attached my screenshot of google drive. Image When i try to attach files from iOS application through UIDocumentMenuViewController , .ipa and .apk files are greyed out. it is disable so thats why i can't select it. So how can i enable it ??…
Jenish
  • 477
  • 5
  • 20
0
votes
1 answer

Saving pdf from icloud and and converting to base64 in swift 3

I want to select a pdf from icloud and convert it into base64 so that i can upload it to further .I have selected the file from icloud but i ab not able to convert it into base64 @IBAction func PdfBtn(_ sender: Any) { let importMenu =…
0
votes
0 answers

iOS UIdocumentpicker: APK file is showing grey

I am trying to integrate UIPickerViewController to pick apk file but it is showing grey. UIDocumentPickerViewController* docPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:@[@"public.data"] …
Hash Geek
  • 1
  • 1
0
votes
1 answer

Not able to get .doc file from UIDocumentPickerViewController ios swift

I'm using this code to get document from iCloud in my app. let documentPicker: UIDocumentPickerViewController = UIDocumentPickerViewController(documentTypes: ["public.content","public.data"], in: UIDocumentPickerMode.import) …
Arun K
  • 810
  • 2
  • 12
  • 33
0
votes
1 answer

DropBox Chooser and documentsPicker for Swift developers 3.0

While the Chooser implementations for iOS are present Here. It is however limited to Objective-C. Is it possible to create a chooser in swift manually? (A dropBox chooser) I am also unable to sufficiently call the documentspicker functions, where…
Khaledonia
  • 2,054
  • 3
  • 15
  • 33
0
votes
1 answer

Get file from iCloud drive without downloading?

How get file url from UIDocumentPickerController, for later upload to my server? Sending files as implemented Telegram. Now there is only the possibility to download a file from icloud and send later. But I want to learn how to implement in the…
Zept
  • 1,158
  • 1
  • 10
  • 14
0
votes
0 answers

Share files on iCloud drive between to different appleIDs

On OS X it seems to can share a file these days much like say dropbox or another, by right clicking it and choosing the application you want to get the link. So in this picture for example I can Mail user A and user B a copy of the files I want to…
user3069232
  • 8,587
  • 7
  • 46
  • 87
0
votes
1 answer

DocumentViewController for dropbox or google drive

In my app i want to access document of Google Drive and Dropbox. For iCloud their is UIDocumentPickerViewController which shows file of iCloud.I am looking for something same for Google Drive and Dropbox. Is I have to create…
Surjeet Rajput
  • 1,251
  • 17
  • 24
0
votes
3 answers

Getting error in - (BOOL)copyItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL error:(NSError **)error

I am picking documents from iCloud and google drive etc and using this method - (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentAtURL:(NSURL *)url I am getting the url…
S.J
  • 3,063
  • 3
  • 33
  • 66
0
votes
1 answer

UIDocumentPickerViewController selection in Xamarin Forms

I'm stuck on getting my DocumentPicker fully working. Right now it presents the view controller but I can't figure out how to wait or get the result. In swift you just write the void documentPicker(UIDocumentPickerViewController controller,…
John
  • 1,808
  • 7
  • 28
  • 57
0
votes
1 answer

When using UIDocumentPicker, is there a way to know which external app the document is coming from?

I am using the UIDocumentPicker from iOS 8, uploading various documents from a number of different external apps such as Dropbox and Google Drive. Is there some way where I can know which app the user is getting the document from?
jnelson
  • 1,215
  • 10
  • 16
0
votes
1 answer

How to open files imported by UIDocumentPicker?

In my app I picked files by UIDocumentPicker and put file names on a tableView. When clicking on a cell, I want the app open the file. I have no idea how to open the files picked before. Please help. import UIKit extension ViewController:…
0
votes
0 answers

Set up the accessibility for UIDocumentMenuViewController

I need to write a UI test that will tap buttons on UIDocumentMenuViewController. But I can't reach these elements from code because they have not any accessibility like UIView has. Is there a possible way to get access to options in…