“如何给予”;与“分享”;在iphone mail中打开文档时的选项

“如何给予”;与“分享”;在iphone mail中打开文档时的选项,iphone,objective-c,uidocumentinteraction,cfbundleidentifier,Iphone,Objective C,Uidocumentinteraction,Cfbundleidentifier,所以,我一直在经历这个过程。 我已经能够通过邮件实现“使用myapp打开”选项,我想知道如何根据指定的文件类型将选项更改为“使用myapp共享”? 这就是我尝试过的: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>Document</string&

所以,我一直在经历这个过程。 我已经能够通过邮件实现“使用myapp打开”选项,我想知道如何根据指定的文件类型将选项更改为“使用myapp共享”? 这就是我尝试过的:

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Document</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>CFBundleTypeRole</key>
        <string>Owner</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.data</string>
        </array>
    </dict>                
</array>
CbundleDocumentTypes
CbundleTypeName
文件
伊斯汉德兰克
候补
CbundleTypeRole
所有者
lsItemContentType
公共数据

从对其他站点的爬网中发现,同样的操作无法完成:-(

从对其他站点的爬网中发现,同样的操作无法完成:-(

只需再指定一点,我想注册我的应用程序以从任何外部应用程序打开文档。只需再指定一点,我想注册我的应用程序以从任何外部应用程序打开文档。