LocationPickerDelegate
public protocol LocationPickerDelegate: class
Conform to this protocol and set yourself as the delegate of a LocationPickerVC to be notified when the user selects a location.
-
This method is called when the user taps the + button of a callout of an MKAnnotationView.
Declaration
Swift
func didPick(annotation: MKAnnotation)
Parameters
annotation
An object conforming to MKAnnotation which represents the location the user selected.