iphone - MkMapView drop a pin on touch -


i struggling unearth standard way drop pin on mkmapview based on touch input. there isnt standard way, worth asking. if have implement myself best approach add gesture recogniser pick tap on map view.

yes, can use uilongpressgesturerecognizer this.

this previous answer of mine has details sample code:
how add push pin mkmapview(ios) when touching?

to animate drop, in viewforannotation, return mkpinannotationview animatesdrop set yes.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -