I am developing an iPhone application for driving. I have used mapkit to show the locations. I need to add turn by turn navigation in it. how i can do that on ios6? can you give my example?
Asked
Active
Viewed 413 times
0
-
Perhaps see [Asking the Maps App to Display Directions](http://developer.apple.com/library/ios/documentation/userexperience/conceptual/LocationAwarenessPG/ProvidingDirections/ProvidingDirections.html#//apple_ref/doc/uid/TP40009497-CH8-SW6) in the _Location Awareness Programming Guide._ – Rob Nov 10 '12 at 23:41
-
possible duplicate of [How to draw a MKPolyline on a MapView?](http://stackoverflow.com/questions/10911534/how-to-draw-a-mkpolyline-on-a-mapview) – Peter O. Nov 11 '12 at 00:21
-
It's not a duplicate because he wants to know how to route, not to draw... he has no path to draw. – Kendall Helmstetter Gelner Nov 11 '12 at 00:24
1 Answers
0
Turn by turn navigation is not built into the SDK. You can ask the built in Apple Maps app to give the user directions between two points, but that will not display the route in your app.
You may want to look at the free Mapbox SDK:
https://github.com/mapbox/mapbox-ios-sdk
Although that will require you use OpenStreetMaps for the map, I believe.
It looks like there may be a few other free options (like something from MapQuest) and I think Cloudmade offers SDK support for routes, though that SDK is not free:
http://developers.cloudmade.com/documentation/iphone-sdk/v3/index.html

Kendall Helmstetter Gelner
- 74,769
- 26
- 128
- 150