📅  最后修改于: 2022-03-11 14:58:49.143000             🧑  作者: Mango
let london = MKPointAnnotation()
london.title = "London"
london.coordinate = CLLocationCoordinate2D(latitude: 51.507222, longitude: -0.1275)
yourMapView.addAnnotation(london)