Use Image from desktop as NSImage
-
26-06-2021 - |
Frage
How can I set a NSImageView's Image to a file from the desktop, not from inside my app. this is the code i've tried:
[applicationIcon setImage:myImage];
Lösung
You can't add a image from desktop to NSImageView.
Andere Tipps
You have to add the image to your project, otherwise, you won't be able to use it.
You might wanna take a look at this documentation OSx Human Interface Guidelines.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow