Skip to content

m-afham/SmileToUnlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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