MapView programe in iPhone
1. Create a new project (ViewBased application ) 2. Import the MapKit in header file... #import <MapKit/MapKit.h> also add the MapKit.framework under resources folder from the existing frameworks. 3. In the same viewController's header file call the <MKMapViewDelegate> and define the MKMapView *myMapView; synthesize and release the myMapView object into implementation file. 4. In a viewcontroller.xib file ..add the map view on UIView and connect it with corresponding object in file owner. Further see the code given below…. Header #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> @interface myMapViewController : UIViewController <MKMapViewDelegate> { IBOutlet MKMapView* myMapView; } @property (nonatomic, retain) IBOutlet MKMapView* myMapView; -(void)displayMYMap; @end Implementation #import "myMapViewController.h" @implementation myMapViewController @synthesize myMapView; // Implement view...