ios - Importing document with UIDocumentPickerViewController warns "fileprovider plugin was invalidated" -
anytime import document via uidocumentpickerviewcontroller
, see message logged console:
testapp[66587:1550086] plugin com.apple.uikit.fileprovider.default invalidated
does mean theres wrong code? or expected warning? there anyway suppress it?
@ibaction func attachfile(sender: uibutton) { let documentpicker = uidocumentpickerviewcontroller(documenttypes: ["public.image"], inmode: .import) documentpicker.delegate = self self.presentviewcontroller(documentpicker, animated: true, completion: nil) } func documentpicker(controller: uidocumentpickerviewcontroller, didpickdocumentaturl url: nsurl) { }
Comments
Post a Comment