Posts

Showing posts from November, 2019
Neilj (04:29 PM): remote.plumfast.com.au ID: ts-plumfast\am-win Password: AMW!N2805
Image
1. Set up plist info file 2. Right code 2.1 implement  UIDocumentPickerDelegate: class NewTermConditionSettingViewController : UIViewController , UIDocumentPickerDelegate { 2.2 Make 2 functions: // This func will be called when a button import tapped func ImportFiles (){         let documentPicker = UIDocumentPickerViewController (documentTypes: [ kUTTypePDF as String ], in: . import )         documentPicker. delegate = self         documentPicker. allowsMultipleSelection = false         present (documentPicker, animated: true , completion: nil )     } // MARK: - UIDocumentPickerDelegate     func documentPicker ( _ controller: UIDocumentPickerViewController , didPickDocumentsAt urls: [ URL ]) {         print ( "documentPicker" )         guard let selectedFile = urls. fi...