I am writing an app that retrieves places based on a user query for a set of locations. When there are a large number of locations in the set, my app gets the following error:
Error Domain=MKErrorDomain Code=3 "(null)" UserInfo={MKErrorGEOError=-3}
It seems this represents MKError.loadingThrottled.
The MKLocalSearch requests must be made one after another for a good user experience.
- I've tried putting a delay of 0.5 seconds between every 10 search requests.
- I've tried waiting every 10 requests to see that all of the prior requests have completed before continuing.
Please note that I randomly chose 10 requests as a break point. I've seen another post stating that there's a limit of 10 requests; however, I've tested with a set of 15 locations, and that works fine. I don't know what the actual limit is, and I want to be a good 'net citizen, but my app requires that I get past this one way or another!