title: Open map in a given address using MapKit and Swift
body: <p>I am having a bit of trouble understanding Apple's MapKit in Swift 3.</p>
  
  <p>I found an example here: <a href="https://stackoverflow.com/questions/28604429/how-to-open-maps-app-programmatically-with-coordinates-in-swift">How to open maps App programmatically with coordinates in swift?</a></p>
  
  <pre><code>public func openMapForPlace(lat:Double = 0, long:Double = 0, placeName:String = "") {     
      let latitude: CLLocationDegrees = lat
      let longitude: CLLocationDegrees = long
  
      let regionDistance:CLLocationDistance = 100
      let coordinates = CLLocationCoordinate2DMake(latitude, longitude)
      let regionSpan = MKCoordinateRegionMakeWithDistance(coordinates, regionDistance, regionDistance)
      let options = [
          MKLaunchOptionsMapCenterKey: NSValue(mkCoordinate: regionSpan.center),
          MKLaunchOptionsMapSpanKey: NSValue(mkCoordinateSpan: regionSpan.span)
      ]  
      let placemark = MKPlacemark(coordinate: coordinates, addressDictionary: nil)
      let mapItem = MKMapItem(placemark: placemark)
      mapItem.name = placeName
      mapItem.openInMaps(launchOptions: options)
  }
  </code></pre>
  
  <p>This works absolutely swimmingly, except that I need to use an <em>address</em> instead of <em>coordinates</em> in this case.</p>
  
  <p>I have found methods for doing this using google maps, but I cant seem to find a specific answer for Apple Maps, if it exists, I've completed glazed over it.</p>
  
  <p>If anyone can help me to understand what the correct approach is, that would be amazing. I'm using:</p>
  
  <ul>
  <li>Xcode 8.3.1</li>
  <li>Swift 3.1</li>
  <li>macOS</li>
  <li>Targeting iOS 10+</li>
  </ul>