iPhone透明键盘

时间:2009-11-03 16:14:47

标签: iphone iphone-softkeyboard

如何更改标准UIKeyboard对象的外观。我想为UITextField对象创建透明键盘。

1 个答案:

答案 0 :(得分:5)

您可以将UITextField对象的keyboardAppearance属性设置为UIKeyboardAppearanceAlert:

myTextField.keyboardAppearance = UIKeyboardAppearanceAlert;