Making a password lock for an app?

前端 未结 4 525
栀梦
栀梦 2021-01-06 05:11

I\'m wanting to make a password unlock screen for my app, and I\'m not sure how I\'d go about it.

I\'m wanting it to look like the Apple-designed version of it, whic

相关标签:
4条回答
  • 2021-01-06 05:31

    iOS 7 style Passcode. Complete functional demo with great documentation showing the different states (i.e Enable, Test, Change & Turn Off)

    https://github.com/rolandleth/LTHPasscodeViewController

    0 讨论(0)
  • 2021-01-06 05:45

    Just found a project that replicates this perfectly. I'm going to post this here for future reference in case anyone needs it. https://github.com/guicocoa/pinview

    https://github.com/guicocoa/pinview

    0 讨论(0)
  • 2021-01-06 05:53

    Here is another library, just in case someone is looking for something like this: http://cocoacontrols.com/platforms/ios/controls/abpadlockscreen

    0 讨论(0)
  • 2021-01-06 05:55

    most likely you create the view and when all the fields are set you check against the known password or you check the hash of the input passkey against the hash you have stored.

    basically you have a stored password/hash and you check against that when you have all field filled in in your view.

    when the password is correct (either by hash checking or password) you show your next view, otherwise you display an error saying the password is incorrect.

    0 讨论(0)
提交回复
热议问题