• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UIElement app doesn't come to front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UIElement app doesn't come to front


  • Subject: UIElement app doesn't come to front
  • From: Memo Akten <email@hidden>
  • Date: Fri, 19 Sep 2008 11:28:52 +0100

I want to create a very simple little app that launches a window at startup, and then runs in the background with no dock and menu.

I've created the app as a standard cocoa app, extending NSApplication overriding init (set delegate to self) and applicationDidFinishLaunching to setup a timer (and applicationWillTerminate to cleanup) - I've also set 'Application is agent' to true in Info.plist.

When I start the app from Xcode, my window opens, when I close it the window dissappears and my app carries on running in the background as expected.

But when i run the app from finder, my window appears at the very back of all other windows so isn't visible, how can I fix this?
_______________________________________________


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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: UIElement app doesn't come to front
      • From: Fabian <email@hidden>
  • Prev by Date: Re: determining system idle time in leopard
  • Next by Date: Re: Differences between -isEqual: and -isEqualTo:?
  • Previous by thread: Transfer progress for objects fetched from a vended object
  • Next by thread: Re: UIElement app doesn't come to front
  • Index(es):
    • Date
    • Thread