Need help with AppLocker?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Ryasnoy
188 Stars 35 Forks MIT License 31 Commits 7 Opened issues

Description

AppLocker - simple lock screen for iOS Application ( Swift 4+, iOS 9.0+) Touch ID / Face ID

Services available

!
?

Need anything else?

Contributors list

# 171,708
Swift
pincode
faceid
iOS
17 commits
# 335,469
Shell
Swift
pincode
applock...
2 commits
# 333,287
swift-f...
Objecti...
pincode
applock...
2 commits
# 415,602
Swift
pincode
applock...
iOS
1 commit

Swift License Platform Twitter

AppLocker

Very simple locker for your

iOS
application

Preview

Modes

enum ALMode { // Modes for AppLocker
  case validate
  case change
  case deactive
  case create
}

Configuration

struct ALOptions { // The structure used to display the controller
  var title: String?
  var subtitle: String?
  var image: UIImage?
  var color: UIColor?
  var isSensorsEnabled: Bool?
}

Example

Simple call of controller

AppLocker.present(with: .create) // validate, deactive, change

Calling the controller with configuration

    var options = ALOptions()
    options.image = UIImage(named: "face")!
    options.title = "Devios Ryasnoy"
    options.isSensorsEnabled = true
    options.onSuccessfulDismiss = { (mode: ALMode?) in
        if let mode = mode {
            print("Password \(String(describing: mode))d successfully")
        } else {
            print("User Cancelled")
        }
    }
    options.onFailedAttempt = { (mode: ALMode?) in
        print("Failed to \(String(describing: mode))")
    }

AppLocker.present(with: mode, and: appearance, over: self)

Requirements

AppLocker is written in Swift 3. iOS 8.0+ Required

Installation

Just move the

Source
folder to your project

CocoaPods

  pod 'AppLocker'

For iOS 8.0

  pod 'AppLocker', ~> '1.0.1'

Author

Oleg Ryasnoy, [email protected]

Telegram: https://t.me/ryasnoy

License

AppLocker is available under the MIT license. See the LICENSE file for more info.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.