/SmileToUnlock

A screen that unlocks itself when you smile.

Primary LanguageSwiftMIT LicenseMIT

Icon
Smile Face Unlock

GitHub top language Platform

A screen that unlocks itself when you smile.

Requirements

  • iOS 11.0+
  • Swift 4+

How it is built?

  • ARKit with "ARFaceTrackingConfiguration" to detect smiles using the front camera
  • Lottie-ios for animations
  • UIImpactFeedbackGenerator for haptic feedback
  • UIView animations and transitions for better UX

Usage

To show, write this line anywhere in your view controller

override func viewDidLoad() {
     super.viewDidLoad()
     SmileLockVC.present(callingVC: self)
}

Demo

SmileFaceUnlock