IOS how to listen on Power button event -


i'm trying make small tool in ios require password while trying shutdown(press power button) machine.

but can't find reference listen on powerbutton check whether machine going shutdown..

can advise?

thanks, patrick


Comments

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

c# - How to use process.StartInfo.Arguments in command prompt? -