如何像iPad锁屏一样显示数字输入模式视图?
当我解锁 iPad 时,我会看到一个小的模态视图,我可以在其中输入 PIN 码。我想在我的应用程序中使用相同的功能来通过 PIN 码保护敏感设置。
这里使用了哪个 UI 元素?我怎样才能把它点燃?
谢谢。
勒内
when I unlock my iPad I get a small modal view where I can enter a PIN. I'd like to use the same thing within my app to protect a sensitive setting with a PIN.
Which UI element is used here? How can I fire it up?
Thanks.
René
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯,我不认为默认情况下可以使用它,但是您可以构建自己的键盘,您可以使用以下代码来获取数字键盘
,或者您可以使用界面生成器创建自定义键盘,您只需要 12 个按钮和 4 个文本框然后以编程方式完成它非常简单希望这对
亚历克斯有帮助
Umm i dont think that view it available to use use by default, but you can build your own you can use the following code to get the numeric pad
or you can create a custom keyboard with interface builder you just need 12 buttons ans 4 text boxes then do it programmatically pretty straightforward hope this helps
Alex