How to call reindexAllSearchableItemsWithAcknowledgementHandler and reindexSearchableItemsWithIdentifiers on CSSearchableIndexDelegate

The implementation of the searchlight search plugin on iOS requires implementation CSSearchableIndexDelegate. Is there a way to run reindexAllSearchableItemsWithAcknowledgementHandlerand reindexSearchableItemsWithIdentifiers. I would like to be able to run them so that I can test them.

+4
source share
1 answer

Triggers are located under Settings > Developer > CoreSpotlight Testingon your iOS device. You may need to start Xcode and connect the device before the option becomes visible.

+3
source

Source: https://habr.com/ru/post/1620051/


All Articles