Here I am going to explain you how to draw route using two latitude and Longitude.Here you have to consider if any Sea or River comes between 2 location then route drawing is not possible.
Step 1:Please check the following image for Framework required and predefined classes
if you want you will get all the files with sample code at the end of the post.
Step 2: Import Required files in your ViewController and Provide the 2 different Location’s Latitude and Longitude.Please follow this 2 images accordingly.
You can Grab this code from
Core Location, Delegate, iPad, MapKit, Objective-C, Sample Code Tagged
(MKPinAnnotationView, Core Location, Google api, Location, MKMapType, MKMapView, Place, Route
There are several reasons why application is rejected by apple store.Apple will never compromise with quality this is one of the most important reason for more reason in detail please check this
App Store Review Guidelines, AppleStore, Core Location, Delegate, Foundation Framework, MVC, Objective-C, OOPs Fundamentals, Timer, UINavigationbar, UIPopoverController, UIScrollView, UISplitViewController, UITabbarController, UITableView, UITableViewCell, UITextView, UIView, UIWebView, Universal Application, Xcode Tagged
and ethnicity, and raffles, Charities and contributions, Contests, culture, Damage to device, Functionality, Game Center, iAds, Legal requirements, Location, lotteries, Media content, Metadata, Objectionable content, Personal attacks, Pornography, Privacy, Purchasing and currencies, Push notifications, ratings and rankings, Religion, Scraping and aggregation, sweepstakes, Terms and conditions, Trademarks and trade dress, User interface, Violence