iPhone登录屏幕数字键盘

时间:2011-05-23 06:18:11

标签: iphone objective-c cocoa-touch ios

我正在编写一个应用程序,我想在iPhone中显示登录屏幕,您必须输入4位数代码才能登录。最好的方法是什么?是否有SDK附带的UIView或我必须设计自己的键盘 感谢

3 个答案:

答案 0 :(得分:6)

CocoaControls是一个很好的网站,可以浏览Cocoa& Cocoa Touch自定义UI组件:

<强> http://cocoacontrols.com/

您可以使用 PINView http://cocoacontrols.com/platforms/ios/controls/pinview

enter image description here

KVPasscodeViewController http://cocoacontrols.com/platforms/ios/controls/kvpasscodeviewcontroller

enter image description here

JSLockScreen http://cocoacontrols.com/platforms/ios/controls/jslockscreen

enter image description here

答案 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

希望这会对你有所帮助。