I have a silly question to ask and the question is that i have been working with MapKit Framework and found that whenever i am setting the frames and mapType of the object of MKMapView in the init method i get a blank view but when i set the frame and mapType in the loadView method i can view the map interface.
Why is this so? i am using sdk 3.1
Please help
here's my code
- (void)loadView {
[super loadView];
mymapView = [[MKMapView alloc]initWithFrame:self.view.bounds];
mymapView.mapType = MKMapTypeStandard;
mymapView.showsUserLocation = YES;
[self.view addSubview:mymapView];
}