setPointsOfInterest(_:selectedIndex:)
Updates the points of interest and the current selection.
Declaration
func setPointsOfInterest(_ pointsOfInterest: [CPPointOfInterest], selectedIndex: Int)Parameters
- pointsOfInterest:
An array that contains the points of interest the template displays.
- selectedIndex:
The selection’s index. This is the array’s index for the specific point of interest you want to select. Use Nsnotfound 4qp9h to indicate no initial selection.
Discussion
pointsOfInterest can contain a maximum of twelve points of interest because that is the most the template displays.