Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24871] iOS: Add Support for Document Picker

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionDone
Resolution Date2018-03-31T11:06:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsdocument, file, ios, picker
ReporterSandro Lain
AssigneeHans Knöchel
Created2017-06-08T07:53:57.000+0000
Updated2018-08-06T17:34:43.000+0000

Description

Have access to external files via iOS native document picker. https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/DocumentPickerProgrammingGuide/Introduction/Introduction.html

Comments

  1. Sharif AbuDarda 2017-06-21

    Hello, Thanks for the ticket. Our engineers will look into it.
  2. Hans Knöchel 2018-03-31

    This looks like a great use case for Hyperloop:
       const importMenu = UIDocumentMenuViewController.alloc().initWithDocumentTypesInMode(myUTIs, UIDocumentPickerModeImport);
       importMenu.delegate = myDelegate; // Create "myDelegate" with Hyperloop.defineClass(...)
       TiApp.app().showModalController(importMenu, true);
       
  3. Hans Knöchel 2018-03-31

    Made a quick module supporting it: https://github.com/hansemannn/titanium-ios-document-picker
  4. Eric Merriman 2018-08-06

    Closed as completed. If this is in error, please reopen.

JSON Source