-3
func directionsFromCurrentLocation(to:CLLocationCoordinate2D,directionCompletionHandler:DirectionsCompletionHandler){
이 코드는 두 목적지 사이를 찾기 위해 Apple지도에서 사용됩니다. 그리고이 코드를 사용하고 있습니다. 당신이 후행 폐쇄 (함수 호출의 끝에 코드의 { }
구분 된 덩어리)에 의해 방해하는 경우swift3.0에서 함수를 호출하는 방법
mapManager.directionsFromCurrentLocation(to: destination!) { (route, directionInformation, boundingRegion, error) ->() in
그리고 귀하의 질문은 무엇입니까? – Sweeper