![](/img/trans.png)
[英]macOS / Cocoa: How to get the path of the running app's main bundle after the user moves it on disk?
[英]In a Cocoa Application for macOS, I save a bundle to disk using NSFileWrapper. How can I get the finder show the correct icon for my bundle?
在“ 导出的UTI”部分中,尝试将“ 符合于”设置为 com.apple.package, public.archive
。
我不是UTI专家,但这一直适用于我的应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.