Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 OS X 上使用 MKMapView 和基于我当前坐标的 MKPointAnnotation。我希望能够单击并拖动此引脚注释,但是单击并拖动会导致滚动地图视图。我想不出任何可以让我这样做的方法。
愚蠢的我......我没有将我的控制器设置为 MKMapViewDelegate。只需符合所有注释相关的方法。