Questions tagged [uidocumentbrowservc]
44 questions
1
vote
1 answer
UIDocumentBrowserViewController get file data
when i use UIDocumentBrowserViewController, and get file's documentURL ,like" file:///private/var/mobile/Containers/Data/Application/8F45C0E0-446B-4C89-A7AB-95E148BE0F41/Documents/sd1513175706_2.MP4 ", and i use [NSData dataWithContentsOfFile] to…

好多余先生丶
- 261
- 1
- 2
- 9
1
vote
0 answers
How to sync edited files on DropBox or Google Drive with document based app ios
I am working on an app which is a Document Based application ios 11 swift 4.
I am able to create new files on DropBox or Google Drive with the help of importHandler callback in delegate method of UIDocumentBrowserViewControllerDelegate.
I am able to…

Vishal Kumar
- 11
- 2
0
votes
1 answer
UIDocumentBrowserViewController doesn't call localizedName or honor shouldShowFileExtensions
I am using Xcode 14.2 on macOS Ventura 13.2, working on an iOS app initially created from Xcode's template via New Project > iOS > Document App. I am using Objective-C, not Swift. I am testing in the simulator's "iPad Pro (12.9 in) 6th Generation -…

Rick Holzgrafe
- 59
- 7
0
votes
0 answers
How to write files with UIDcomentBrowserViewController
Is where a way to read/write multiple files in UIDocumentBrowserViewController.
Recently, I know UIDocumentBrowserViewController as rootViewController can read files. But how to write files.
For example, i want to read zip file and then unzip it to…

John Shu
- 3
- 4
0
votes
1 answer
open App DocumentDirectory with UIDocumentBrowserViewController
hi i am developing a documentBrowser ViewController in my app so that user can browse files and folders inside documentDirectoy i was wondering is there any way to implement UIDocumentBrowser to open apps documentDirectory?

Mamad
- 71
- 7
0
votes
1 answer
How to read the user preference for save location (iCloud or local) for an iOS document-based app?
When developing a document based app, iOS automatically creates a preference about document storage (iCloud or local) in the Settings app: How can I read this preference from my app? Please note that this is not the enable/disable iCloud switch for…

Tom
- 1,144
- 1
- 11
- 23
0
votes
1 answer
Built-In Actions UIDocumentBrowserViewController
Is it possible to control which built-in actions appear in the UIDocumentBrowserActionAvailabilityMenu / UIDcoumentBrowserActionAvailabilityNavigationBar associated with a UIDocumentBrowserViewController?
I'd like to convert my app's custom browser…

C. Outwin
- 47
- 1
- 3
0
votes
1 answer
Why NSFileManager doesn't work with UIDocumentBrowserViewController?
I need check files in directory exists and can be open, but my FileManager.default.fileExists(atPath: <#url_from_uidocumentbrowservc#>) return false. I can't get list of items in selected directory, I can't check my item exists or not.
And one more…

Vladislav Prusakov
- 13
- 6
0
votes
2 answers
QLPreviewController works with URLs provided by UIDocumentBrowserViewController, but not with URLs generated manually
I'm using UIDocumentBrowserViewController combined with QLPreviewController to preview documents selected by users in UIDocumentBrowserViewController, which works perfectly fine. The pickedDocumentURL variable used by QLPreviewController is…

Karol Kulesza
- 909
- 8
- 10
0
votes
1 answer
iOS11 Swift 4: Storing access rights for URLs retrieved from DocumentBrowserViewController
When using DocumentBrowserViewController to access files from other applications, is it possible to store the access rights to those files?
The concrete issue
Currently, for proof of concept purposes, I printed the url for a file, selected via…

maves
- 508
- 6
- 13
0
votes
1 answer
Importing document to app's Document Browser using DocumentBrowserViewController
I've declared a custom export UTI type in a simple Document Based iOS app. I'm now trying to provide the capability to import files of the same type from Mail to the app.
When long-pressing the document icon in the message, I'm given the option to…

jacob_g
- 674
- 8
- 21
0
votes
1 answer
UIDocumentBrowserViewController handling back navigation
Apple states that the UIDocumentBrowserViewController should be the rootviewcontroller of your app.
https://developer.apple.com/documentation/uikit/view_controllers/adding_a_document_browser_to_your_app
I have done it this way but I have some UX…

tryhardgeci
- 39
- 3
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
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