title: iOS - Open Apple Maps with latitude and longitude directions
body: <p>I am developing an application needs to open an Apple Maps session, and pass in latitude and longitude coordinates to get directions to that location from a users current location.</p>
  
  <p>I know this can be done in google maps which I am already doing, but when attempting to open the URL in Apple Maps it just opens the place not the directions from a users current location to their destination. </p>
  
  <p>Here is the URL scheme I have been using:</p>
  
  <pre><code>http://maps.apple.com/?ll=(someLatitude),(someLongitute)
  </code></pre>
  
  <p>Code:</p>
  
  <pre><code>UIApplication.sharedApplication().openURL(NSURL(string:"http://maps.apple.com/?ll=\(locationLat),\(locationlong)")!)
  </code></pre>
  
  <p>Any help would be greatly appreciated. Thanks!</p>