setSelected(_:animated:)
Sets the selection state of the annotation view.
Declaration
func setSelected(_ selected: Bool, animated: Bool)Parameters
Discussion
Dont call this method directly. An MKMapView object calls this method in response to user interactions with the annotation.