Answers for "swift uibutton title color"

1

set color for uibutton programmatically swift

button.setTitleColor(.red, for: .normal)
Posted by: Guest on February-21-2020
1

swift navigation bar title color

// Place this in your didFinishLaunchingWithOptions method in the AppDelegate
let attrs = [
  NSAttributedString.Key.foregroundColor: UIColor.white
]

UINavigationBar.appearance().titleTextAttributes = attrs
Posted by: Guest on June-16-2020

Code answers related to "swift uibutton title color"

Code answers related to "Swift"

Browse Popular Code Answers by Language