简体   繁体   English

Objective-C:获取文件类型支持的文件扩展名

[英]Objective-C: Get supported file extensions for a file type

I was wondering is there is a way of retrieving in Objective-C (MAC & IOS) all the supported extensions for a file type.我想知道是否有一种方法可以在 Objective-C (MAC & IOS) 中检索文件类型的所有支持的扩展名。

For example, I need to know all the file formats supported for graphics in IOS.例如,我需要知道 IOS 中图形支持的所有文件格式。

Thanks in advance.提前致谢。

Mikywan.米基万。

I have not used it myself but I think you can get what you are looking for from the Launch Services API我自己没有使用过它,但我认为您可以从启动服务 API中获得所需的内容

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM