info.plist - Associate mp3 file to iOS app using Swift -
i want open mp3 file in app. know common utis referenced here https://developer.apple.com/library/content/documentation/miscellaneous/reference/utiref/articles/system-declareduniformtypeidentifiers.html#//apple_ref/doc/uid/tp40009259-sw1
and know how add custom document types , added own. when use public.audio document type, doesn't work.
my info.plist:
<key>cfbundledocumenttypes</key> <array> <dict> <key>cfbundletypeiconfile</key> <string>beer-mug.png</string> <key>cfbundletypeextensions</key> <array> <string></string> </array> <key>lsitemcontenttypes</key> <array> <string>public.mp3</string> </array> <key>cfbundletypename</key> <string>public.audio</string> <key>lshandlerrank</key> <string>owner</string> </dict>
Comments
Post a Comment