2017-02-17 14 views
0

使用以下方法可以實現嗎?當在ios中點擊YouTube共享按鈕時,在應用列表中顯示我的應用程序

<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的善意建議。

回答

0

對於視頻共享,您可以使用「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

相關問題