Programming Learner
Programming Learner

Reputation: 4411

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. The delegate method of map is not getting called. please help..

Upvotes: 0

Views: 115

Answers (1)

nerowolfe
nerowolfe

Reputation: 4817

Use

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

Also make sure your mapView.delegate = self;

Upvotes: 1

Related Questions