0
一個動作,我想做一個動作時,地圖上移動時,我嘗試這個功能,但它不工作:辦時,地圖移動
func mapView(mapView: MKMapView, regionWillChangeAnimated animated: Bool) {
let alert = UIAlertView()
alert.title = "Hey"
alert.message = "Map Move"
alert.addButtonWithTitle("Working!!")
alert.show()
}
你能看看我的文章。它的類似http://stackoverflow.com/questions/33131213/regiondidchange-called-several-times-on-app-load-swift – RubberDucky4444