annotationSelected(_:forCandidate:)
Sends the selected candidate string and annotation string to the input controller.
Declaration
func annotationSelected(_ annotationString: NSAttributedString!, forCandidate candidateString: NSAttributedString!)Parameters
- annotationString:
The annotation string associated with the candidate.
- candidateString:
The candidate string that the user moved to.
Discussion
This method is called when the user moves to a candidate.