The image used for the app’s icon.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@property(strong) NSImage *applicationIconImage;
Discussion
Assign an image to this property when you want to temporarily change the app icon in the dock app tile. The image you provide is scaled as needed so that it fits in the tile. To restore your app’s original icon, set this property to nil
.