使用以下方法可以做到吗?
<dict>
<key>CFBundleTypeName</key>
<string>Open All Files</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSItemContentTypes</key>
<array>
<string>public.content</string>
<string>public.data</string>
</array>
</dict>
我知道照片是可能的,但我应该如何为youtube建议。
最佳答案
对于视频共享,可以使用“public.video(kUTTypeVideo)”。例如
<dict>
<key>CFBundleTypeIconFiles</key>
<array/>
<key>CFBundleTypeName</key>
<string>Video</string>
<key>LSItemContentTypes</key>
<array>
<string>public.movie</string>
</array>
</dict>
您可以在这里找到其他文档类型标识符:DeclaredUniformTypeIdentifiers
关于ios - 在iOS中单击youtube共享按钮时,在应用列表中显示我的应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42294641/