How to disable user interaction on SwiftUI view?
问题 Let's say I have a SwiftUI view hierarchy that looks like this: ZStack() { ScrollView { ... } Text("Hello.") } The Text view blocks touch events from reaching the underlying ScrollView . With UIKit, I'd use something like .isUserInteractionEnabled to control this, but I can't find any way to do this with SwiftUI. I've tried adding a Gesture with a GestureMask of .none on the text view, but that doesn't seem to work. I hope I'm missing something obvious here, because I need to put some status