How to prolong showing custom UI in Lockscreen of MacOS.

Hello, I made a mechanism that shows my custom user interface in the lock screen of MacOS by using the example in https://developer.apple.com/library/archive/samplecode/NameAndPassword/

The UI is being displayed as required and working perfectly. But it will automatically gets removed form display when there is no input from user for 30 seconds.

I need to prolong that time as I need to support multiple factor verifications such as push notification(where user need to accept push notification in mobile device rather than in mac), security key(where user needs to insert and tap a security device without needing to give any input in keyboard or trackpad).

Please suggest me any solution regarding the ways to achieve this. Any information is appreciated.

Thank you.

Replies

But it will automatically gets removed form display when there is no input from user for 30 seconds.

Yes.

Please suggest me any solution regarding the ways to achieve this.

There’s no way to control that timeout. We already have a bug on file about this (FB7685037) but feel free to file your own.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"