ios - UIDocumentMenuViewController open .odt and .pages -


how open .odt , .pages via uidocumentmenuviewcontroller ? constant should use?

        let documenttypes = [kuttypepdf string,                          kuttypeplaintext string,                          kuttypertf string,                          "com.microsoft.word.doc",                          "org.openxmlformats.wordprocessingml.document"]      let importmenu = uidocumentmenuviewcontroller(documenttypes: documenttypes, in: .import) 

now can open .pdf, .txt, .rtf, .doc, .docx.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -