开发者

define myself'd file type using CFBundleDocumentTypes

I know I can def开发者_如何学运维ine file type using in appinfo.plist such as zip, pdf etc

Is it possible define any type with special extension, such as '.mydatafiletype' or '.datafiletype'

Welcome any comment


Yes, you can. The documentation clearly states so.


Sure you can.
Generally, you need to set UTExportedTypeDeclarations property in info.plist file.

The post here: How do I associate file types with an iPhone application?
Gives you a sample to do it.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜