I need to update status bar style on every view controller based on the background color (what UINavigationController is doing automatically).
UINavigationController
Have trie
override func viewDidLoad(){ super.viewDidLoad() navigationController?.navigationBar.barStyle = .default } override var prefersStatusBarHidden: Bool { return true }
I applied scroll view also in the same screen, by this code was able to resolve status bar issue.