Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

powwowath

macrumors newbie
Original poster
Nov 2, 2008
8
0
Hello!

I'm in a trouble because I need to add a button to my application to lock/unlock the screen and I have no ideas. :eek:

The problem:
I need to add a button to disable every control in my application (lock the screen without turn off the application). This button has to be converted to an unlock button then. Once the unlock button is pressed everything has to became enabled again.

Any ideas?!

Thanks!!!
 
I would suggest putting up a new view that covers the current view but then traps all input, thus preventing any of the existing controls from working, and then removing this view when the unlock button is pressed.
 
Thank you,.. I'll try it!

By the way,.. do you know if exists any control like the iphone default unlock bar???
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.