我正在编写一个应用程序,我想在iPhone中显示登录屏幕,您必须输入4位数代码才能登录。最好的方法是什么?是否有SDK附带的UIView或我必须设计自己的键盘 感谢
答案 0 :(得分:6)
CocoaControls是一个很好的网站,可以浏览Cocoa& Cocoa Touch自定义UI组件:
<强> http://cocoacontrols.com/ 强>
您可以使用 PINView :http://cocoacontrols.com/platforms/ios/controls/pinview
或 KVPasscodeViewController :http://cocoacontrols.com/platforms/ios/controls/kvpasscodeviewcontroller
或 JSLockScreen :http://cocoacontrols.com/platforms/ios/controls/jslockscreen
答案 1 :(得分:1)
之前在steps / idea for a Iphone passcode like custom interface for Application回答:该问题的这个选项看起来很有希望(见https://github.com/vikingosegundo/KeyPad)。
答案 2 :(得分:0)
您可以使用此最新源代码执行此操作。网址为https://github.com/abury/ABPadLockScreen
希望这会对你有所帮助。