Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

applicationShouldTerminate delegate does not work in Leopard



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'.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.