I have the following code in my app, specifically in viewDidLoad:
that sets up my UISearchController
.
self.searchController = [[UISear
I needed full control over my status bar colour. I use the extensions found here to ensure that the visible view controller is setting the preferred status bar colour.
For me it was therefore necessary to override UISearchController and override preferredStatusBarStyle
and return the style I wanted.