简体   繁体   English

检测地图是否已在mapview中滚动

[英]Detect whether map has been scrolled or not in mapview

How can I detect whether map has been scrolled or not in mkmapview in ios. 如何在iOS的mkmapview中检测地图是否已滚动。 The delegate method of map is not getting called. map的委托方法没有被调用。 please help.. 请帮忙..

Use 采用

  -(void)mapView:(MKMapView *)mapView1 regionDidChangeAnimated:(BOOL)animated

Also make sure your mapView.delegate = self; 还要确保您的mapView.delegate = self;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM