Re: turning app into background app
Re: turning app into background app
- Subject: Re: turning app into background app
- From: Charles Srstka <email@hidden>
- Date: Mon, 09 Jul 2012 20:02:50 -0500
On Jul 9, 2012, at 1:33 PM, Eric Schlegel wrote:
> On Jul 8, 2012, at 5:52 AM, "Rick C." <email@hidden> wrote:
>
>> I did read that I could set my app to have LSUIElement - YES by default and then use TransformProcessType to unhide it since there is no way to do it in reverse.
>
> Note that in 10.7 and later, you can use TransformProcessType to convert your app back into a background-only or UIElement app, as well.
>
> -eric
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.
Charles
_______________________________________________
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