I am designing an iOS 8.1 jailbreak tweak which gives the user an alternative unlock method when swiping left at the lock screen. Once the user is done with some tasks I would like the device to unlock itself; without requesting a passcode. Obviously if necessary the tweak has access to the users passcode.
Now that you have an idea of what I am trying to achieve, I was wondering if one of you knows which method could help me invoke the unlock.