Remove keyboard or place Picker View on TOP of keyboard
Anyone has any idea how one can achieve the same look as whe开发者_如何学编程n you press on the "From:" in the Mail iphone app when you have more than one user account.
I'd like to remove my keyboard, but WITHOUT animating it. Rather just disappear and instead of it have a UIPickerView appear.
Thanks much!
Since iOS 3.2 you can set the inputView
property of a UITextField
to a custom view. 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.
UITextField Class Reference
精彩评论