- iOS 11.0+
- Swift 4+
- 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
- Download the zip file, and copy and paste the "SmileLockVC" folder into your project.
- You need to install the Lottie-ios ( https://github.com/airbnb/lottie-ios.git ) package to run animations.
To show, write this line anywhere in your view controller
override func viewDidLoad() {
super.viewDidLoad()
SmileLockVC.present(callingVC: self)
}