Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

swift change status bar color

override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    setNeedsStatusBarAppearanceUpdate()
}
override var preferredStatusBarStyle: UIStatusBarStyle {
    .lightContent
}
Comment

white status bar swift

override var preferredStatusBarStyle: UIStatusBarStyle {     
      return .lightContent
}
Comment

PREVIOUS NEXT
Code Example
Swift :: swiftui coin flip 
Swift :: swift pretty print json 
Swift :: swift file size from url 
Swift :: swift infinite while loop 
Swift :: if else if and else statments in swift language 
Swift :: swift add two arrays 
Swift :: socket io swift 
Swift :: swift array map to another array 
Swift :: how to clear text file swift 
Swift :: how to set return type swift 
Swift :: swift extension Array where type 
Swift :: make text autoresize swiftui 
Swift :: delay code execution swift 4 
Swift :: swft view 
Swift :: swiftui refresh view 
Swift :: Swift Omit Argument Labels 
Swift :: swift apply changes after a word in string 
Swift :: how to create button action programmatically in ios 
Swift :: Swift Assigning and accessing a value from an optional 
Swift :: swift api call with certificate 
Swift :: Why Inheritance? 
Swift :: how to check if not running in debufgger swift 
Swift :: swift uknow attrubute main 
Swift :: swift 5 full screen image viewer 
Swift :: Arithmetic Operators in Swift 
Swift :: swiftUI parse json from url 
Swift :: underline text in storyboard xcode 
Ruby :: If the version you need is missing, try upgrading ruby-build. linux 
Ruby :: authrenticate to artifactory grails 2.1.1 
Ruby :: rails validators 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =