Reputation: 69
My app shows nearby restuarants based on users current location. On launch of the app, I'm getting the restaurants based on current location and indexing them using the CoreSpotlight APIs. This works well.
Since the user location keeps changing, I need to update the restaurants. I have following questions.
Does the Search extension helps us to update the restaurants in the background based on current location?
The IndexRequestHandler which is a subclass of CSIndexExtensionRequestHandler implements the CSSearchableIndexDelegate methods. How do we access this class in the containing app? I wanted to set this class as my CSSearchableIndex indexDelegate.
Upvotes: 1
Views: 492