tvOS Keyboard lose keyboardAppearance not retaining after minimising

I have an app with UISearchContainerViewController.
Code Block
let searchController = UISearchController(searchResultsController: resultsTableController)
searchController.searchBar.keyboardAppearance = .dark
let container = UISearchContainerViewController(searchController: searchController)

Then I add it to screen. The keyboard look like intended. After that i minimize the application and expand it back. The keyboard become .light appearance. And no way to bring it back to .dark. How to fix that?
tvOS Keyboard lose keyboardAppearance not retaining after minimising
 
 
Q