Contents

searchableIndexDidThrottle(_:)

Tells the delegate that indexing is being throttled.

Declaration

optional func searchableIndexDidThrottle(_ searchableIndex: CSSearchableIndex)

Parameters

  • searchableIndex:

    The indexing that’s being throttled.

Discussion

To save power, the system can reduce the amount of time it spends indexing your app’s items. For example, the system might throttle indexing if the device is running on battery only. The system calls this method to let you know when throttling occurs, so you can prioritize the items you want to index.

See Also

Monitoring Spotlight status