title: Changing frame won't resize UIImageView
body: <p>In my iPhone app I'm trying to programmatically resize and move a UIImageView in order to give it as origin the top-left corner of the iPhone screen and to have it to be both wide and tall as the height of the screen.
  To do so I'm using with the following code:</p>
  
  <pre><code>-(void)viewDidLoad
  {
       //Getting screen size
       CGRect screenSize = [[UIScreen mainScreen]bounds];
  
       //Creating the new frame for the UIImageView
       CGRect arect = CGRectMake(0, 0, screenSize.size.height, screenSize.size.height);
       //Setting the image to show
  
       UIImage *image = [UIImage imageNamed:@"Adele.jpg"];
       self.imageView.image = image;
  
       //Setting new frame and contentmode
       self.imageView.frame = arect;
       self.imageView.contentMode = UIViewContentModeScaleToFill;
  }
  </code></pre>
  
  <p>self.imageView is an outlet I created with InterfaceBuilder.</p>
  
  <p>Problem is that this code does not seem to have any effect on the frame of the UIImageView when I start the application. The imageview infact will be shown in the same position and with the same size that I set when I created it with IB.</p>
  
  <p>Does anyone of you guys have an idea on why this code isn't working? What am I missing?</p>