init the map but don't let it fit the screens view bounds
-
28-10-2019 - |
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 :)
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