Answers for "chnage statusbar background color swift 5.5 ios 15"

2

swift change status bar color

override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    setNeedsStatusBarAppearanceUpdate()
}
override var preferredStatusBarStyle: UIStatusBarStyle {
    .lightContent
}
Posted by: Guest on March-20-2020

Code answers related to "chnage statusbar background color swift 5.5 ios 15"

Code answers related to "Swift"

Browse Popular Code Answers by Language