In iOS7 we have both a dark and a light keyboard. Is it possible for me to change between these in my app by code?
Setting the Keyboard to Dark Mode Enabling the Dark mode is a complete no brainer. Launch the Setting app, swipe down, and select Display & Brightness. The first option that pops up is Light and Dark, tap on Dark and voila – the iPhone keyboard turns dark grey with white letters.
Go to Settings > Accessibility > Keyboards, tap Full Keyboard Access, then turn on Full Keyboard Access.
textfield.keyboardAppearance = UIKeyboardAppearanceDark;
in Swift 3:
textfield.keyboardAppearance = UIKeyboardAppearance.dark
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With