[英]Remove keyboard or place Picker View on TOP of keyboard
Anyone has any idea how one can achieve the same look as when you press on the "From:" in the Mail iphone app when you have more than one user account. 任何人都知道,当您拥有多个用户帐户时,如何获得与在Mail iphone应用程序中按“发件人:”时相同的外观。
I'd like to remove my keyboard, but WITHOUT animating it. 我想删除键盘,但不设置动画。 Rather just disappear and instead of it have a UIPickerView appear.
而是消失了,取而代之的是出现了UIPickerView。
Thanks much! 非常感谢!
Since iOS 3.2 you can set the inputView
property of a UITextField
to a custom view. 从iOS 3.2开始,您可以将
UITextField
的inputView
属性设置为自定义视图。 This view is then shown instead of the keyboard as input for that view. 然后显示该视图而不是键盘作为该视图的输入。
There's no way to achieve this before iOS 3.2 I know. 我知道在iOS 3.2之前无法实现这一目标。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.