NSAlert - can you have a custom icon?
-
12-10-2019 - |
سؤال
Is there a way to insert a custom icon in a NSAlert? I know you can have different prefabbealert styles but is it possible to cu
المحلول
Yes. You can use
- (void)setIcon:(NSImage *)icon
Look at the documentation.
لا تنتمي إلى StackOverflow