【发布时间】:2018-07-02 14:25:28
【问题描述】:
我正在尝试获取有关用户位置的注释,但无法获取(某种)语音气泡以了解注释的详细信息。有什么选择可以创建这样的东西吗?
//AnnotationSettings
let newPin = MKPointAnnotation()
//set region on the map
maphome.setRegion(region, animated: true)
newPin.coordinate = location.coordinate
newPin.title = "aksldfjaskldfjaklsdfa"
newPin.subtitle = "sounds awesome!"
maphome.addAnnotation(newPin)
这是我的注释代码。
【问题讨论】:
-
带有自定义
UIView的注释