Re: Prevent screen saver from starting, but don't prevent computer sleep
Re: Prevent screen saver from starting, but don't prevent computer sleep
- Subject: Re: Prevent screen saver from starting, but don't prevent computer sleep
- From: Sandor Szatmari via Cocoa-dev <email@hidden>
- Date: Mon, 29 Jun 2020 07:32:48 -0400
Gabriel,
> On Jun 29, 2020, at 07:04, Gabriel Zachmann <email@hidden> wrote:
>
>
>> I was hoping to convey to the OP that the goals of this question might have
>> unintended consequences.
>
>
> I realize there might be security concerns with what I am trying to do.
>
> Is there a way to lock the screen such that the user has to provide their
> password to unlock it,
> and still have my app run fullscreen on the display?
> (similar to what happens when the screensaver is running)
I can’t remember if you are Sandboxing or not… but, if not, look at
https://developer.apple.com/documentation/security/authorization_services
Otherwise, if sandboxing, refer to this discussion.
https://stackoverflow.com/questions/21956946/authenticate-user-objective-c-cocoa-sandboxing
>
>
> Best regards, Gabriel
>
>
_______________________________________________
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