mapkit show annotation by default

后端 未结 1 1837
情话喂你
情话喂你 2021-02-13 17:25

I have an annotation showing in mapkit with a custom image, showing fine,

but the annotation shows after taping the pin,

how can I have the annotation showing b

1条回答
  •  一个人的身影
    2021-02-13 18:07

    you can use this

    [mapView selectAnnotation:pinView animated:YES]; //here pinView is your annotation and mapview is your map

    hope that helped

    0 讨论(0)
提交回复
热议问题