美文网首页
app实现共享文件

app实现共享文件

作者: 江河_ios | 来源:发表于2020-09-23 10:50 被阅读0次

在info .plist 文件中添加

        在info.plist文件中以Source code的方式添加以下代码: 

CFBundleDocumentTypesCFBundleTypeNameBINLSHandlerRankOwnerLSItemContentTypescom.apple.macbinary-​archiveCFBundleTypeNamePDFLSHandlerRankOwnerLSItemContentTypescom.adobe.pdfCFBundleTypeNameMicrosoft WordLSHandlerRankAlternateLSItemContentTypescom.microsoft.word.doccom.microsoft.word.wordmlorg.openxmlformats.wordprocessingml.documentCFBundleTypeNameMicrosoft ExcelLSHandlerRankAlternateLSItemContentTypescom.microsoft.excel.xlsorg.openxmlformats.spreadsheetml.sheetCFBundleTypeIconFilesCFBundleTypeNameMicrosoft PowerPointLSHandlerRankAlternateLSItemContentTypescom.microsoft.powerpoint.​
pptorg.openxmlformats.presentationml.presentationpublic.presentationCFBundleTypeNameTextLSHandlerRankAlternateLSItemContentTypespublic.textpublic.plain-textpublic.utf8-plain-textpublic.utf16-external-plain-​textpublic.utf16-plain-textcom.apple.traditional-mac-​plain-textpublic.source-codepublic.c-sourcepublic.objective-c-sourcepublic.c-plus-plus-sourcepublic.objective-c-plus-​plus-sourcepublic.c-headerpublic.c-plus-plus-headercom.sun.java-
sourcepublic.scriptpublic.shell-scriptCFBundleTypeNameRich TextLSHandlerRankAlternateLSItemContentTypespublic.rtfcom.apple.rtfdcom.apple.flat-rtfdCFBundleTypeNameHTMLLSHandlerRankAlternateLSItemContentTypespublic.htmlpublic.xhtmlCFBundleTypeNameWeb ArchiveLSHandlerRankAlternateLSItemContentTypescom.apple.webarchiveCFBundleTypeNameImageLSHandlerRankAlternateLSItemContentTypespublic.imageCFBundleTypeNameiWork PagesLSHandlerRankAlternateLSItemContentTypescom.apple.page.pagescom.apple.iwork.pages.pagescom.apple.iwork.pages.templateCFBundleTypeNameiWork
NumbersLSHandlerRankAlternateLSItemContentTypescom.apple.numbers.numberscom.apple.iwork.numbers.numberscom.apple.iwork.numbers.templateCFBundleTypeNameiWork KeynoteLSHandlerRankAlternateLSItemContentTypescom.apple.keynote.keycom.apple.iwork.keynote.keycom.apple.iwork.keynote.kthCFBundleTypeNameAudioLSHandlerRankAlternateLSItemContentTypespublic.audioCFBundleTypeNameMovieLSHandlerRankAlternateLSItemContentTypespublic.movieCFBundleTypeNameArchiveLSHandlerRankAlternateLSItemContentTypespublic.archive

相关文章

网友评论

      本文标题:app实现共享文件

      本文链接:https://www.haomeiwen.com/subject/zrohrqtx.html