Post

Replies

Boosts

Views

Activity

Reply to SwiftUI issue with onTap using Map using IOS 26
.simultaneousGesture( SpatialTapGesture().onEnded { value in let point = value.location if let loc = proxy.convert(point, from: .local) { selectedLocation = loc print(selectedLocation as Any) } } ) put the code above below the Map view.
Replies
Boosts
Views
Activity
Oct ’25