init(request:)
Creates and returns a search object with the specified parameters.
Declaration
init(request: MKLocalSearch.Request)Parameters
- request:
The search request information. This parameter can’t be
nil.
Return Value
An initialized search object.
Discussion
This method stores a copy of the object in the request parameter. So, the object ignores any changes you make to your request object after calling this method.
See Also
Related Documentation
- Location and Maps Programming Guide