Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customize Keyboard in tvOS

I use UISearchController to search inline with keyboard, textfield and results in one screen. Does tvOS allow to customize keyboard? I want to use dark design, but I don't know how to customize the keyboard. For example YouTube app did that. They have black screen with white keyboard

like image 601
Timur Mustafaev Avatar asked Nov 18 '15 09:11

Timur Mustafaev


1 Answers

A UISearchController has a UISearchBar, which conforms to UITextInputTraits. This means it has a keyboardAppearance which you can set to UIKeyboardAppearanceDark to get a dark keyboard appearance. This isn't identical to what happens in the YouTube app, but it's probably the closest you can get.

like image 197
lemnar Avatar answered Sep 21 '22 17:09

lemnar