0

This may sound dumb but I did some research and I am looking for a function that is called WHILE the map is being dragged not after.

Is there any delegate functions because I couldnt find any.

EK_AllDay
  • 1,095
  • 2
  • 15
  • 35
  • Try using pan and pinch gesture recognizers instead of (or in addition to) the regionWill/DidChangeAnimated delegate methods. See http://stackoverflow.com/questions/5922422/keep-two-mkmapviews-showing-the-same-region for an example of this. –  Sep 09 '13 at 21:36

1 Answers1

0

What about mapView:regionWillChangeAnimated:? From the docs:

During scrolling, this method may be called many times to report updates to the map position.

nevan king
  • 112,709
  • 45
  • 203
  • 241
  • That only gets called one the drag begins . I need something that is called while dragging occurs. I might have to implement my own with NSTimer, I just wanted to know if there was anything before i reinvented the wheel. – EK_AllDay Sep 09 '13 at 17:59
  • Ah, I see. Looking around SO, there seem to be a few questions about observing the map's region using KVO and digging for the map's scroll view, but a timer is what people end up using. – nevan king Sep 09 '13 at 19:30