Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make the UIKeyboard black?

I've seen this SO question here: Can I tint (black) a UIKeyboard? If so, how?, where the top answer suggests that you can hack around but doing so may get your app rejected by Apple. This must not be true, as I've seen other iPhone applications (a major one being Clear) that have a black UIKeyboard. How is it done?

Here's a screenshot of Clear for reference:

enter image description here

like image 872
Alec Avatar asked Dec 02 '22 23:12

Alec


1 Answers

Try this out

   [(UITextField *)mySubView setKeyboardAppearance:UIKeyboardAppearanceAlert];

or just adding setKeyboardAppearance:UIKeyboardAppearanceAlert appropriately depending on how you have this set up!

like image 91
Mick MacCallum Avatar answered Dec 04 '22 12:12

Mick MacCallum