iOS Swift - SwiftUI Basics
Identify the error in this SwiftUI code snippet:
Text("Hello")
.font(.title)
.padding(10, 20)Text("Hello")
.font(.title)
.padding(10, 20).padding() modifier accepts either no arguments, one argument for uniform padding, or a specific edge set with length..padding(10, 20) is invalid syntax in SwiftUI.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions