cocoa - OSX App - Associated file types and icons not updating (Launch Services) -
i have mac app open ".png" file types. able application make default app opens ".png" files , double clicking files launch app.
however, can't seem update icon on .png files - shows default icon thumbnail of image.
i have file called icon.icns in project, , following block in info.plist file:
<key>cfbundledocumenttypes</key> <array> <dict> <key>cfbundletypeextensions</key> <array> <string>png</string> </array> <key>cfbundletypeiconfile</key> <string>icon</string> <key>cfbundletypename</key> <string>png</string> <key>cfbundletyperole</key> <string>viewer</string> </dict> </array>
what's weird if restart computer, icons update, after second or change system default.
thanks!
Comments
Post a Comment