Closure containing control flow statement cannot be used with result builder 'ViewBuilder'
below was the code
let feet = 9
let inch = 45
var body: some View {
VStack{
for number in 1...10 {
print(number)
}
}
Topic:
App & System Services
SubTopic:
Core OS
Tags:
visionOS
Reality Composer Pro
iPad and iOS apps on visionOS