I have a UIViewRepresentable inside my ContentView as well as other SwiftUI views.When the UIViewRepresentable is touched or any SwiftUI view is receiving a gesture independently, the views respond as expected.While I am touching the UIViewRepresentable, I can still still adjust the SwiftUI views (they still accept gestures).HOWEVER, while I am doing a gesture on a SwiftUI, I cannot receive touch events on my UIViewRepresentable. I need to be able to do this.There is no overlap between any of the views (they are not graphically blocking each other).I can adjust multiple SwiftUI views at the same time, why can't I also adjust a UIViewRepresentable at the same time?My UIViewRepresentable is a musical keyboard. My SwiftUI views adjust the sound played. I need to be able to interact with both at the same time regardless of which was pressed first.
3
2
2.8k