Answers for "satus bar background color chnage in swift"

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
0

how to change background color swift

self.view.backgroundColor = .black / .blue / .purple / .clear /ect.
Posted by: Guest on March-30-2020

Code answers related to "satus bar background color chnage in swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language