开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜