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
Post a Comment