4

I want to change the background color of the keyboard when we are entering text in a textfield or textview. The default color is blue for the background. How can I change this to black?

Bart
  • 19,692
  • 7
  • 68
  • 77
CKT
  • 1,223
  • 4
  • 21
  • 39
  • If anyone was looking for how to do this for a search bar like i was see http://stackoverflow.com/questions/2705865/change-uisearchbar-keyboard-search-button-title I would comment but i can't yet so posting as answer – katbyte Oct 03 '10 at 18:22

1 Answers1

10

You can get a dark gray background if you set the Appearance of the Text Input Traits of the Text Field to Alert. You can do this in Interface Builder under the Text Field attributes in the inspector.

Unfortunately Apple only opens two Appearance styles for the keyboard to us 3rd party developers.

Brandon Bodnar
  • 8,202
  • 2
  • 36
  • 42