Questions tagged [uidocumentpickervc]

97 questions
1
vote
1 answer

Can I get a mime type using iOS UIDocumentPickerViewController?

I'm importing a file on iOS When this delegate is called... func documentPicker(controller:UIDocumentPickerViewController, didPickDocumentAtURL url:NSURL) can I retrieve the mime type of the file? I need it to place in an email so that mail clients…
Carl
  • 2,896
  • 2
  • 32
  • 50
1
vote
0 answers

download files using document extension iOS

  Can we download and upload files from server using document extension in iOS ? I read there is a method documentStorageURL , originalURL in UIDocumentPickerExtensionViewController class.    But in my case I have a C++ SDK that downloads a…
Vacca
  • 1,219
  • 16
  • 26
1
vote
0 answers

dropbox extension minimizes with Unable to setup extension context - error: The operation couldn’t be completed. (Cocoa error 4099.)

I have implemented documentPicker to import files in my app. I can open other app extension and import file. Issue is when I go to background. Suppose Dropbox extension is downloading a file to be imported and I press Home button. Again when I open…
Durgaprasad
  • 1,910
  • 2
  • 25
  • 44
1
vote
0 answers

UIdocumentPickerViewController customization

Apple provide iCloud Drive in iOS 8. For review documents I use UIDocumentPickerViewController. But I can not understand how to create folder with custom icon such as this one: (Documents by...)
biloshkurskyi.ss
  • 1,358
  • 3
  • 15
  • 34
1
vote
1 answer

Why is UIDocumentPickerViewController for Dropbox giving me a previous file version?

I am using UIDocumentPickerViewController to pick a file from Dropbox and get the callback. Here is the code: - (void)documentPicker:(UIDocumentPickerViewController *)controller didPickDocumentAtURL:(NSURL *)url { // The user selected the…
James
  • 851
  • 6
  • 10
1
vote
0 answers

UIDocumentPickerViewController and Dropbox import error 11004

I have interesting problem. I am using UIDocumentPickerViewController. And in list can to choose Dropbox: When i select on one of file sime time I get error: (dropbox.com error -11004). And I understend that it is not my allert whis is allert from…
biloshkurskyi.ss
  • 1,358
  • 3
  • 15
  • 34
1
vote
1 answer

A Picker controller similar to UIImagePickerController to pick files ios 7

Just as we have UIImagePickerController to pick images into our iOS app. Is there a way to import the files in a similar manner as well? iOS 8 suggests a UIDocumentPickerViewController, but only for files in iCloud. Is there a way to import files in…
Kaushil Ruparelia
  • 1,179
  • 2
  • 9
  • 26
0
votes
1 answer

How to Register Font which was pick up from UIDocument

I'm trying to Register Font which was pick up from UIDocument, everything works fine I enabled Install Fonts capability under the Signing & Capabilities and I accessed the UIDocument file and I pick the font. but I don't know how to register…
Faris
  • 1,206
  • 1
  • 12
  • 18
0
votes
0 answers

Error in opening UIDocumentPickerViewController

I am trying to present UIDocumentPickerViewController from my Viewcontroller. Sometimes I get error saying Could not communicate with a helper application. The way I present my DocumentPickerViewController is: BHFilePickerViewController…
0
votes
0 answers

DocumentPicker.show() is not working with "react-native": "0.59.1"

I am getting this error in react native project: "undefined is not an object (evaluating '_reactNativeDocumentPicker.DocumentPicker.show')".
0
votes
0 answers

How to set image in navigation bar of UIDocumentPicker?

I want to add an image in the navigation bar of a UIDocumentPicker. I have tried with the following code: var documentPicker = UIDocumentPickerViewController(documentTypes: ["com.adobe.pdf","com.apple.rtfd"], in:…
0
votes
1 answer

Missing "Edit" button for Browse other locations like to enable Dropbox, Google drive & Etc in UIDocumentPickerViewController implementtion

Missing Edit button for Access/Disable another cloud drives UIDocumentPickerViewController *documentPicker = [[UIDocumentPickerViewController alloc] initWithDocumentTypes:types inMode:UIDocumentPickerModeImport]; documentPicker.delegate =…
0
votes
1 answer

Is it possible to gain forever access to a file imported from DocumentPicker?

I have an app that imports a file (or many files) using the DocumentPickerDelegate. This means that the files imported are likely off of iCloud, Google Drive, etc. I want the app to load any previously selected files on startup, but I'm wondering if…
Logan
  • 1,047
  • 10
  • 33
0
votes
0 answers

Opening a Document Picker for local iphone files in swift

I know that a UIDocumentPickerViewController can be used to select a file from the iCloud but I want to display the user a list of documents present on the iPhone locally and finally extract the URL of the document that the user selects. I have read…
0
votes
1 answer

UIDocumentPickerViewController import SSL Certificate

How can I import a SSL Certificate using UIDocumentPickerViewController? I'm doing something like this: let documentPicker: UIDocumentPickerViewController = UIDocumentPickerViewController(documentTypes: ["public.item"], in:…
pableiros
  • 14,932
  • 12
  • 99
  • 105