CoreSpotlight iOS 15.5 to 16.0 API Differences
CSSearchableIndex.h
Added
-[CSSearchableIndex provideDataForBundle:identifier:type:completionHandler:]
CSSearchQuery.h
Added
CSSearchQuerySourceOptions
Added
CSSearchQuerySourceOptionDefault
Added
CSSearchQuerySourceOptionAllowMail
Added
CSSearchQueryContext
Added
CSSearchQueryContext.fetchAttributes
Added
CSSearchQueryContext.protectionClasses
Added
CSSearchQueryContext.filterQueries
Added
CSSearchQueryContext.keyboardLanguage
Added
CSSearchQueryContext.sourceOptions
Added
-[CSSearchQuery initWithQueryString:queryContext:]
Modified
CSSearchQueryErrorDomain
Declaration
From
CS_TVOS_UNAVAILABLE NSString *const CSSearchQueryErrorDomain
To
CS_TVOS_UNAVAILABLE const NSErrorDomain CSSearchQueryErrorDomain
CSSuggestion.h
Added
CSSuggestionHighlightAttributeName
Added
CSSuggestionKind
Added
CSSuggestionKindNone
Added
CSSuggestionKindCustom
Added
CSSuggestionKindDefault
Added
CSSuggestion
Added
CSSuggestion.localizedAttributedSuggestion
Added
CSSuggestion.suggestionKind
Added
-[CSSuggestion compare:]
CSUserQuery.h
Added
CSUserQueryContext
Added
+[CSUserQueryContext userQueryContext]
Added
+[CSUserQueryContext userQueryContextWithCurrentSuggestion:]
Added
CSUserQueryContext.maxSuggestionCount
Added
CSUserQuery
Added
-[CSUserQuery initWithUserQueryString:queryContext:]
Added
CSUserQuery.foundSuggestionCount
Added
CSUserQuery.foundSuggestionsHandler
Added
-[CSUserQuery start]
Added
-[CSUserQuery cancel]
Added
CSTopHitQueryContext
Added
+[CSTopHitQueryContext topHitQueryContext]
Added
+[CSTopHitQueryContext topHitQueryContextWithCurrentSuggestion:]
Added
CSTopHitQueryContext.maxItemCount
Added
CSTopHitQuery
Added
-[CSTopHitQuery initWithUserQueryString:queryContext:]