在Swift中自动显示多个注释标注

时间:2015-02-13 00:14:47

标签: swift mkmapview mkannotation

有没有办法同时显示多个注释标注? 我知道如何使用mapView.selectAnnotation(annotation, animated: true)显示单个注释标注,但无法显示多个标注。

我试图添加NSArray注释,但它会抛出类似NSArray doesn't confirm to protocol MKAnnotation的错误。

0 个答案:

没有答案