iOS SwiftUI: How to detect location of tap on map?

前端 未结 0 1024
一个人的身影
一个人的身影 2021-02-19 20:22

so I\'m using Mapbox. The map struct conforms to the UIViewRepresentable protocol. In my makeUIView() function, I create a tap gesture recognizer and add it to the map view.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题