maxRankedResultCount
The maximum number of ranked results to return during the query.
Declaration
var maxRankedResultCount: Int { get set }Discussion
Spotlight ranks a limited number of results by default, but you can change the default value to improve performance or better suit your app’s interface. For example, you might want to return only the five most relevant results due to space constraints in your UI.