[英]Show “lock screen” type UI on button press
I know how to display the keypad when a textfield is selected. 我知道在选择文本字段时如何显示键盘。 I would like to have the keypad pop up on a button press and some boxes like the lock screen. 我希望在按下按钮和一些框(如锁定屏幕)时弹出小键盘。 Any suggestions on how to execute this? 关于如何执行此建议?
To display the keypad for a textfield ; 显示文本域的键盘; [theTextField becomeFirstResponder]; [theTextField成为FirstResponder];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.