• 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
Re: turning app into background app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: turning app into background app


  • Subject: Re: turning app into background app
  • From: Eric Schlegel <email@hidden>
  • Date: Mon, 09 Jul 2012 22:56:04 -0700

On Jul 9, 2012, at 5:58 PM, Charles Srstka wrote:

> I notice that in the headers, the new constants are marked "functional in Mac OS X Barolo and later.” Was Barolo an early code-name for Lion

Yes.

> Also, I just tried this out, and it seems that it always converts the app into a background-only app, even if I specify to convert it to a UIElement app. If it has any windows open, they disappear and don’t come back until I convert it back to a foreground app, which doesn’t seem to be the correct behavior for LSUIElement.

That's unfortunate, but not too surprising. This feature was added and primarily used for the Lion capability of turning a foreground app into a background-only app when the app is deactivated with no windows open. The convert-to-UIElement path probably hasn't been tested as well (if at all). Feel free to file a bug about your results.

-eric


_______________________________________________

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


References: 
 >turning app into background app (From: "Rick C." <email@hidden>)
 >Re: turning app into background app (From: Eric Schlegel <email@hidden>)
 >Re: turning app into background app (From: Charles Srstka <email@hidden>)

  • Prev by Date: Re: "Capturing 'self' strongly in this block is likely to lead to a retain cycle"
  • Next by Date: Re: "Capturing 'self' strongly in this block is likely to lead to a retain cycle"
  • Previous by thread: Re: turning app into background app
  • Next by thread: Re: turning app into background app
  • Index(es):
    • Date
    • Thread