Late last year I mentioned a library called MWOpenInKit allowing you to provide the user a selection of different apps when opening multiple apps are available to perform a task such as opening Google Maps instead of Apple Maps.
Here’s a library that allows you to very easily show directions within many popular map apps called CMMapLauncher from Citymapper.
CMMapLauncher provides a simple syntax for detecting whether a directions app is installed, and setting up those directions.
Here’s an example from the readme showing how to detect if the Citymapper app is installed:
and an example showing how to launch directions within the Citymapper app:
[CMMapLauncher launchMapApp:CMMapAppCitymapper
forDirectionsTo:[CMMapPoint mapPointWithName:@"Big Ben"
coordinate:bigBen]];
The apps supported by CMMapLauncher include: Apple Maps, Google Maps, Citymapper, Navigon, The Transit App, Waze and Yandex Navigator.
You can find CMMapLauncher on Github here.
A great tool for avoiding the need to set up different URL schemes and providing the user more options when providing directions.
- Open Source iOS Library For Maps WIth Directions, Travel Estimates, Places Search And More
- Open Source iOS Helper Library For Working With The Google Directions, Map And Places APIs
- Open Source iOS Library Allowing You To Overlay Directions On Map Views Within Your App
- Open Source iOS Library For Easily Mapping Address Book Data To Core Data Entities
- Nifty Utility Library For Easier Threading, Core Location, UITableViews And More
Original article: Open Source iOS Library Providing A Nice Way Of Interfacing With Mapping Apps For Directions
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.




