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

sql server - MSSQL Text and Varchar(MAX) fields shown (MEMO) in DBGrid -

php - Changing the visibility scope of parent methods in child classes -

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