如何在按钮上弹出默认的iPhone键盘 [英] how to popup default iphone keyboard on a button click

查看:112
本文介绍了如何在按钮上弹出默认的iPhone键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 当我们单击UITextField或UITextView时,默认键盘将从iphone屏幕的底部弹出.我希望iphone键盘出现在按钮单击上,然后按键盘上的键进行处理...我该怎么做?

Hi When we click on a UITextField or UITextView, a default keyboard pops up from the bottom of iphone screen. I want iphone keyboard to appear on a button click, and then handle the keys as typed on keyboard... How can i do that?

推荐答案

我正在搜索问题,并且遇到了以下可回答我问题的stackoverflow链接

I was searching my problem, and came across the following stackoverflow link which answers my question

如何在不使用UIKeyboard的情况下UITextField或UITextView?

谢谢

这篇关于如何在按钮上弹出默认的iPhone键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆