Thanks for getting back to me.
I have entering the code and trying I get an error in the simulator.
Get location by keywords and zooming will result in an error😅
I hope the glitch will be fixed.
pin.coordinate = targetCoordinate
pin.title = searchKey
uiView.addAnnotation(pin)
let coordinateSpan = MKCoordinateSpan(latitudeDelta: 0.005, longitudeDelta: 0.005)
uiView.region = MKCoordinateRegion(center: targetCoordinate, span: coordinateSpan)
Thank you.