swift change status bar color
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
setNeedsStatusBarAppearanceUpdate()
}
override var preferredStatusBarStyle: UIStatusBarStyle {
.lightContent
}
Also in Swift:
- how to screen record swift stackoverflow
- get files with file type swift
- swift change status bar color
- swift comments
- get height of navigation bar swift
- swift function in a variable
- swift set image size
- how do i have countdown timer in swift stackoverflow
- swift set uiimage color
- swift increase int value
- swift enum
- special symbol ios swift
- disable dark mode swift
- remove back button text nav bar swift
- how to get key for dictionary in swift
- swift sf symbol uiimage size
- how to get appdelegate object in swift
- DispatchGroup example swift
- array swift
- double to string swift
- application tried to present a nil modal view controller on target
- swift thread.sleep
- navigationview hide header swiftui
- if statement swfit