ViewForAnnotation is not being called

后端 未结 9 2002
悲哀的现实
悲哀的现实 2020-12-15 19:16

I am trying to make a map, where I can see my current location, and see what the street is called.

so far, I am able to put a pin on my map, but for some reason, I a

9条回答
  •  半阙折子戏
    2020-12-15 19:54

    I had the same problem which was not setting the MapView delegate to the File Owner.

    1. Open your nib
    2. Right click on the MapView
    3. Drag the delegate to the File's Owner

提交回复
热议问题