Skip to content

Locking with or without the code

Elijah Frederickson edited this page May 13, 2014 · 3 revisions

The implementation for locking is fairly straightforward. You just copy/paste the following code wherever you want the phone to lock.

Locked with the code:

[[LibPass sharedInstance] lockWithCodeEnabled:YES]

Locked without the code:

[[LibPass sharedInstance] lockWithCodeEnabled:NO]

Clone this wiki locally