【问题标题】:MKAnnotation is not moving with map after update the position更新位置后,MKAnnotation 不随地图移动
【发布时间】:2019-03-20 05:30:21
【问题描述】:

【问题讨论】:

    标签: ios annotations mkmapview ios11


    【解决方案1】:

    我不知道这会起作用,但是您可以更改注释使用的坐标

    [yourAnnotation setCoordinate:newCoordinate];
    

    请看看这个 SO 问题是否对您有帮助 MKMapView moving Annotations Automatically - animate them

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-06-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-29
      • 2017-07-04
      相关资源
      最近更新 更多