Search code examples
iosios6mapkit

MKLocalSearch with wildcard


Is there a way to get all places of an given region? I would like to offer the user a list of all existing venues in a region when he taps the screen, but I only found ways to use MKLocalSearch with a specific search query string.


Solution

  • Is there a way to get all places of an given region?

    There's nothing built into MapKit or Core Location that provides that kind of information. Your best bet would be to look for a suitable data source for the kinds of "venues" that you're interested in, such as Google, Yelp!, FourSquare, yellow pages, etc.