title: generic param Label cannot be inferred in SwiftUI
body: <p><a href="https://i.stack.imgur.com/UET69.png" rel="nofollow noreferrer">enter image description here</a>I am new to SwiftUI. When I embed a toggle switch inside Vstack, it says "generic param Label cannot be inferred" in SwiftUI. May I know the cause for this error and how to fix it.Thank you</p>