Any help with this?
Hi there, can you tell me why mapViewDidChangeVisibleRegion does not update when this is run? it doesn't print anything when I move map around. I get this message: MobileGestalt.c:1647: Could not retrieve region info

struct MapView: UIViewRepresentable {

class Coordinator: NSObject, MKMapViewDelegate {
    var parent: MapView
    init(_ parent: MapView) {
        self.parent = parent }

func **mapViewDidChangeVisibleRegion**(_ mapView: MKMapView) {

This looks more like a question about 3rd party framework (specifically MapKit). I'd suggest that you post it over instead.

1 Like

You don't seem to have assigned parent's delegate, so you won't receive delegate callbacks.

1 Like