NSAlert - can you have a custom icon?
-
12-10-2019 - |
Pergunta
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
Solução
Yes. You can use
- (void)setIcon:(NSImage *)icon
Look at the documentation.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow