SyntaxFix
Write A Post
Hire A Developer
Questions
Swift UI solution
Button(action: {}) { Text("Button") }.foregroundColor(Color(red: 1.0, green: 0.0, blue: 0.0))
Swift 3, Swift 4, Swift 5
to improve comments. This should work:
button.setTitleColor(.red, for: .normal)