The parameters to use when searching for points of interest on the map.
- iOS 6.1+
- macOS 10.9+
- tvOS 9.2+
You create an MKLocalSearchRequest object when you want to search for map locations based on a natural language string. For example, if your interface allows the user to type in addresses, you would place the typed text in this object and pass it to an
MKLocal object to begin the search process. When specifying your search strings, include a map region to narrow the search results to the specified geographical area.
If your app uses an
MKLocal object to implement auto-complete support for user-supplied search strings, initialize your search request using the search completion selected by the user. In that case, use the
init method to initialize your search request object instead of the
init method. The completion object automatically provides the value for the