title: Change ImageView Size Xcode
body: <p>I have a problem changing an <code>UIImageView</code>'s size. The thing is that I want to make an Universal App and I just can't make the <code>UIImageView</code> to get bigger when the detected device is an iPad.</p>
  
  <p>Right now I'm using this code:</p>
  
  <pre><code> if (UIDevice.currentDevice().userInterfaceIdiom == UIUserInterfaceIdiom.Phone)
   {
       self.image.backgroundColor = UIColor.greenColor()
   }
   else if (UIDevice.currentDevice().userInterfaceIdiom == UIUserInterfaceIdiom.Pad)
   {
       self.image.backgroundColor = UIColor.blueColor()
       self.image.frame = CGRectMake(0, 0, 768, 1024)
   }
  </code></pre>
  
  <p>The thing is, it does changes the color but it doesn't change the image size. So how can I manage to change the size? And I don't want to use auto layout, I want to use code. Thanks!</p>