iOS Swift - SwiftUI Basics
Identify the error in this SwiftUI code snippet:
Text("Hello")
.foregroundcolor(.green)Text("Hello")
.foregroundcolor(.green)foregroundColor with a capital 'C'. The code uses foregroundcolor which is incorrect.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions