Options that indicate types of search results.


struct ResultType


These options configure the types of search results you want to receive from MKLocalSearch.Request, including points of interest and addresses.



init(rawValue: UInt)

Create a search result type from the provided value.

Specifying Types of Search Results

static var address: MKLocalSearch.ResultType

Value indicating that search result should include addresses.

static var pointOfInterest: MKLocalSearch.ResultType

Value indicating that search results should include points of interest.


Conforms To

See Also

Creating a Search Request

init(request: MKLocalSearch.Request)

Initializes and returns a search object configured with the specified parameters.

class MKLocalSearch.Request

The parameters to use when searching for points of interest on the map.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software