I have an app with UISearchContainerViewController.
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?
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?