Re: turning app into background app
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