title: Adjusting MKMapView's Frame on iOS 6 in Objective-C
body: <p>I'm trying to adjust the frame of my MKMapView created on IB for 4-inch devices but it doesn't work. Here's my code on viewDidLoad:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
      // Do any additional setup after loading the view from its nib.
  
      // Resizing UILabel for 4-inch screen
      CGRect screenBounds = [[UIScreen mainScreen] bounds];
      if (screenBounds.size.height == 568) // 4 inch
      {
          mapView.frame = CGRectMake(0, 44, 320, 504);
      }
      else // 3.5 inch
      {
          mapView.frame = CGRectMake(0, 44, 320, 416);
      }
      // END - Resizing UILabel for 4-inch screen
  }
  </code></pre>
  
  <p>Can anyone tell me what's wrong with this setup? Thanks.</p>