Method didSelectAnnotation does not work (Skobbler iOS)

人走茶凉 提交于 2019-12-12 15:05:07

问题


This problem appeared after an update to the latest Skobbler version. When I try to select any annotation, only this method get's called

-(void)mapView:(SKMapView *)mapView 
    didTapAtCoordinate:(CLLocationCoordinate2D)coordinate

But not didSelectAnnotation.

After zooming the didSelectAnnotation method works fine.

Anyone knows what's happening?


回答1:


The answer is simple. I've just set

annotationTapZoomLimit = 0

in map's settings.

Thanks for attention.



来源:https://stackoverflow.com/questions/26972096/method-didselectannotation-does-not-work-skobbler-ios

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!