title: Hiding mapview when mapoverlay is visible ios7
body: <p>How do I hide the mapview when I have an overlay on top of the mapview in iOS7? This snippet of code used to work in iOS6 but when i upgrade my app to iOS7 it cease to work.</p>
  
  <pre><code>NSArray *views = [[[self.mapView subviews] objectAtIndex:0] subviews];
  
  [[views objectAtIndex:0] setHidden:YES];
  </code></pre>
  
  <p>Any suggestions or feedback?</p>