Question

mapView =[[MKMapView alloc]initWithFrame:self.view.bounds];

this make the mapView on all the screen, so it hides my UINavigationBar how can i show my map without hiding it please ? thx in advance :)

Was it helpful?

Solution

try this one -

mapView =[[MKMapView alloc]initWithFrame:CGRectMake(0.0f,0.0f,self.view.frame.size.width,self.view.frame.size.height)];
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top