Question : swift change status bar color
Answered by : mobile-star
override func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) setNeedsStatusBarAppearanceUpdate()
}
override var preferredStatusBarStyle: UIStatusBarStyle { .lightContent
}
Source : | Last Update : Fri, 27 Mar 20
Question : white status bar swift
Answered by : zakaria-jawas
override var preferredStatusBarStyle: UIStatusBarStyle { return .lightContent
}
Source : https://stackoverflow.com/questions/38740648/how-to-set-status-bar-style-in-swift-3 | Last Update : Thu, 02 Jun 22