【问题标题】:How to give "Share with" option while opening documents in iphone mail如何在 iPhone 邮件中打开文档时提供“共享”选项
【发布时间】:2012-11-26 14:31:51
【问题描述】:

所以我一直在经历“Document Interaction Programming Topics for iOS”。 我已经能够通过 Mail 实现“使用 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>

【问题讨论】:

  • 只是为了说明更多,我想注册我的应用程序以从任何外部应用程序打开文档。

标签: iphone objective-c uidocumentinteraction cfbundleidentifier


【解决方案1】:

原来爬其他网站,同样做不到:-(

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-05-29
    • 1970-01-01
    • 2023-03-04
    相关资源
    最近更新 更多