On Friday, February 26, 2010, Charles Srstka <cocoa...@charlessoft.com> wrote:
> I suppose for the time being, you could use -[NSApplication 
> activateIgnoringOtherApps:] in your application delegate’s 
> applicationDidFinishLaunching: method as a workaround.


Caveat Emptor:
If you do this you may annoy customers (on subsequent launches) who
launch your application and then switch to Safari/Mail/Finder/other
while your app is launching... Moments later (or seconds or minutes
later depending on how long your app takes to launch on that machine)
your app will appear to hijack the user's computer for no discernible
reason.


An additional step to avoid annoying these people might be to only
order your app to the front if it's the first time it has been
launched...? ($0.02)

Matt
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to