[Solved] Swift 3 custom touch motion to trigger action [closed]


Well you question is divided into 2 parts and I’ll answer them both.

1- What you are looking for is UIGestureRecognizer where it’ll recognize a gesture and do an action accordingly. Here is a link taht will help you out! https://www.raywenderlich.com/76020/using-uigesturerecognizer-with-swift-tutorial

2- Unlocking the phone is impossible without jailbreak. Your gestures are bound to your application. If you want your gestures to work outside the app then your only way is jailbreak

Hope this helps!

1

solved Swift 3 custom touch motion to trigger action [closed]