From e2d2bd9a95ade7436e07cefbfc9a4fcd8f400f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sun, 8 May 2016 14:06:48 -0700 Subject: [PATCH] Use v5 in example --- Directions Example/ViewController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Directions Example/ViewController.swift b/Directions Example/ViewController.swift index d563a33f6..42dc66bc6 100644 --- a/Directions Example/ViewController.swift +++ b/Directions Example/ViewController.swift @@ -31,8 +31,7 @@ class ViewController: UIViewController { let wh = CLLocationCoordinate2D(latitude: 38.8977, longitude: -77.0365) let request = MBDirectionsRequest(sourceCoordinate: mb, destinationCoordinate: wh) - request.version = .Four - + directions = MBDirections(request: request, accessToken: MapboxAccessToken) directions!.calculateDirectionsWithCompletionHandler { (response, error) in