Skip navigation.
 
mlapplicationShouldTerminate delegate does not work in Leopard
FROM : parag vibhute
DATE : Wed Jan 16 17:22:45 2008

Hi all,

I have implemented a Cocoa application in which I am hiding Dock icon by
setting LSUIElement to 1 in info.plist. Now I run the application in *
Panther* & *Tiger*. When I quit that application from Activity monitor, *
applicationShouldTerminate* delegate method was get called.  But when I run
that in *Leopard* & quit it from Activity Monitor,
applicationShouldTerminate delegate method was not get called.

In Leopard, *applicationShouldTerminate* delegate methods gets called only
if application has Dock icon otherwise not.

So is there any other way by which I can catch quitting an background
application from Activity monitor in Leopard?

Thanks,
Palav

--

There are many things in your life that will catch your eye but only a few
will catch your heart....pursue those'.