Posted By

xaviaracil on 06/29/06


cocoa dock badge

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Limpiar el icono de la aplicación en el dock

 / Published in: Objective C

Limpia el icono de la aplicación en el dock, de manera que vuelva a mostrar el icono original

  1. -(void) initApplicationIcon{
  2. // empty application icon
  3. NSImage *appImage = [NSImage imageNamed:@"NSApplicationIcon"];
  4. [NSApp setApplicationIconImage:appImage];
  5. }

Report this snippet  

You need to login to post a comment.