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