I think many people have the same issue - and I do -. I want to combine 2 fingers pinch/rotate/drag gestures and leave 1 finger touch aside for other purposes.
One way is to create your own UIViewRepresentable with gesture recognizers from UIKit. But it's ugly and way more complicated than the SwiftUI version, that's too bad.
Did you manage to solve this problem in SwiftUI?
Post
Replies
Boosts
Views
Activity
Still the same here in 2020... Attaching a target to drag & drop files and folders should be a default behavior!
Can you please share the MetalMapView code? Is it some kind of SwiftUI View with a UIHostingController?..Or is it a typo and you meant MTKMapView instead of MetalMapView ?
I solved the issue adding :textureDescriptor?.usage = [.shaderRead, .shaderWrite]after initializationDone! :]
Same thing here. It would be great if metal kit was more naturally integrated with SwiftUI, without having to go through Coordinators and the likes