Same issue for me. Really frustrating
Post
Replies
Boosts
Views
Activity
I have the same problem on tapping MapAnnotations. I am looking for a solution for iOS 14+ as well. Any help would be appreciated.
Map(coordinateRegion: $locationStore.locationCoordinate,
interactionModes: MapInteractionModes.all, showsUserLocation: true,
userTrackingMode: $userTrackingMode,
annotationItems: locationStore.retailer) { place in
MapAnnotation(coordinate: place.coordinate()) {
MapAnnotationView(retailer: place)
.onTapGesture(count: 1, perform: {
self.place = place
self.showingAlert = true
})
}
}.edgesIgnoringSafeArea(.all)