Post not yet marked as solved
Post marked as unsolved with 1 replies, 650 views
Entering the following simple code, in a default SwiftUI iOS project, causes the preview to consistently crash:
struct ContentView: View {
var body: some View {
VStack {
Text("Hello, world!")
padding()
Text("Another Line")
}
}
}
I know "padding()" should be "spacer()", but this simple syntax error should just show an error, not crash the preview