Hello Forum
tuts link:
http://cagt.bu.edu/w/images/9/9b/MKMapView_example.txt
I have some problem with annotations in mapview. Now I have found this tutorial, and it works. This question i about this bit of code:
Code:
//In viewDidLoad for the class which adds the MapViewController:
MapViewController *ourMapVC = [[MapViewController alloc] initWithNibName:@"MapViewController"
bundle:nil];
ourMapVC.title = @"MapView";
[self.view addSubview:ourMapVC];
//release ourMapVC somewhere else
Im not sure where to put it, but it works fine without. So my question is: Can i do it without that piece of code.
Thank for your time.
Thar