Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS display a lock/unlock slider like the lock screen?

I'm trying to let the users of my app cancel an active alarm using a slider, like the timer app or the iPhone lock screen.

Is this control available to us as developers? If so, what's the name of it, and do I need to add it programmatically? I do not see it in the interface builder.

Thank you!

like image 669
Alex Stone Avatar asked Jan 18 '23 04:01

Alex Stone


2 Answers

You could always try this on cocoacontrols.

Slide to unlock control

like image 166
madpenguin8 Avatar answered Jan 30 '23 04:01

madpenguin8


There you go, http://xcodenoobies.blogspot.com/2011/03/how-to-do-slide-to-unlock.html

like image 20
NadavN7 Avatar answered Jan 30 '23 03:01

NadavN7