init(mapItem:displaysMap:)
Create a map item detail view controller
Declaration
init(mapItem: MKMapItem?, displaysMap: Bool)Parameters
- mapItem:
The map item to display, or
nilto indicate the item is loading. - displaysMap:
Specify
trueto display an inline map with the place information. Specifyfalseonly if the application is already displaying a map view elsewhere.