I created a Search Bar. When i search something, the SearchResultController appears and presents the result. But the status bar is all white ! The problem is that I changed the Status Bar Style to white and that the Status background is also white => EVERYTHING is white now :(
SCREENSHOT OF THE SITUATION HERE : http://omkia.com/screenshot1.png
How do you change the Status Background in this lines please ?
override func viewDidLoad() {
super.viewDidLoad()
UIApplication.sharedApplication().statusBarStyle = .LightContent
self.resultSearchController = ({
let controller = UISearchController(searchResultsController: nil)
controller.searchResultsUpdater = self
controller.dimsBackgroundDuringPresentation = false
controller.searchBar.sizeToFit()
self.tableView.tableHeaderView = controller.searchBar
return controller
})()
PS : I am using Xcode 6.3.2 and Swift. Cheers !