Posts

Post not yet marked as solved
2 Replies
2.6k Views
Hi there, I am using MapKit for my tvOS appI got a problem and I don't know how to solve itHere is the problem:I had lots of annotations on my mapView, I selected one of them by using siri remote and it changed annotation view and showed up custom callout viewbut I don't know how to deselect the annotation which was selected...I had tried open func deselectAnnotation(_ annotation: MKAnnotation?, animated: Bool)but MapKit will find next annotation to select immediately! and the property "selectedAnnotations: [MKAnnotation]" always has item!so I cant deselectIs there any solution for this?many thanks!
Posted Last updated
.