Sets the selection state of the annotation view.
- iOS 3.0+
- macOS 10.9+
- tvOS 9.2+
Contains the value
trueif the view should display itself as selected.
trueif the change in selection state is animated.
You should not call this method directly. An
MKMap object calls this method in response to user interactions with the annotation.