i want to change the background color of the keyboard when we are entering text in textfield or textview. the default color is blue...as background.... can i change the color to black????
views:
1596answers:
4You 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.
thank you bodnarbm..... i got it... now i am able to set the background color. thank you
@Brandon Bodnár, i m not able to comment so i m posting it on "ANSWER".
i can change color of keyboard,through IB...its grt. but how can i change color programmatically?
looking for a quick reply.. regards shishir
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