iOS Swift - SwiftUI Basics
What will be the font weight of the text shown by this SwiftUI code?
Text("SwiftUI")
.fontWeight(.light)
.fontWeight(.heavy)Text("SwiftUI")
.fontWeight(.light)
.fontWeight(.heavy)fontWeight call overrides previous ones..fontWeight(.light) is overridden by .fontWeight(.heavy).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions