简体   繁体   中英

checking if callout view is pressed (mapBox iOS SDK)

i'm wondering what is the best way to check - is callout view pressed using mapBox iOS SDK?

The only method that i find is this one

- (void)tapOnCalloutAccessoryControl:(UIControl *)control forAnnotation:(RMAnnotation *)annotation onMap:(RMMapView *)map

but this method checking is accessory pressed in callout view.

Any ideas how to achieve this? Thanks

当前不存在用于检测标注是否按下的委托方法,而不仅仅是其附件。

有一个叫委托方法tapOnLabelForAnnotation:onMapRMMapViewDelegate ,你可以使用这个方法来获取告知用户敲击注释标签。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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