This repository contains the code for an iOS navigation app made using Apple's Core-Location and MapKit API.
This is a simple iOS app using Core-Location and MapKit provided by Apple to navigate a person from one place to other.
- Run/Open the app
- Allow the App to access your Location.
- The app will automatically at startup zoom in to your current location. Also, it will show the Longitude and Latitude of user's current location.
- On the map, zoom out a bit, scroll on the map and select your destination.
- To set a pin for the destination, choose the destination and press there for 1 sec.
- Once the pin appears at your destination, click on Navigate.
- The app will show the best route depicted by the black line on the map.
- Follow the black line and it will lead you to your destination.
Here's a quick working demo of the App:
- XCode 9
- Swift 3 and above
- iPhone 6 and above
- Toaster [for Toast Messages]
Go inside the project folder using terminal and type:
sudo gem install cocoapods
pod init
open -a Xcode Podfile
Edit the Podfile: Add the following line
pod 'Toaster'
and close the pod file.
To install and use 'Toaster' (for Toast Messages), use:
pod install
- Clone this repository using:
https://github.com/anujdutt9/Core-Location-Navigation.git
- Go inside the folder and open the file in XCode:
AppleMapsNavigation.xcworkspace
- Connect your iPhone, setup your team and run the app.
-
Show the name of the location on the map instead of its coordinates.
-
Make interface for user to enter the destination location name instead of placing the pin.
-
Integrate alternate routes based on traffic conditions on the current chosen route.
-
Show current traffic conditions of the route.
-
Improve the User Interface of the App.
NOTE: This project is still in it's initial phase. For more upcoming features, please see the "To Do / Enhancements" section. To recommend/request any new features, please create a issue as "enhancement". Contributions/Suggestions/Feedbacks are highly appriciated. Thanks :)