title: UIImage not displaying using Swift
body: <p>Code written in Swift for displaying UIImages works in the iOS 8.0 simulator but not on a phone running IOS 7.0 for some reason.</p>
  
  <pre><code>let image1 = UIImage(named: "img1")
  let imageview = UIImageView(image: image1)
  self.view.addSubview(imageview)
  
  let image2 = UIImage(named: "img2")
  let button = UIButton(frame: CGRect(origin: CGPoint(x: 0, y: 100), size: image2.size)
  button.setImage(image2, forState: UIControlState.Normal)
  self.view.addSubview(button)
  </code></pre>
  
  <p>The images are in the right place with the right size and valid references, they're just not being displayed, except on the simulator running iOS 8.</p>
  
  <p>Is this a problem for anyone else?</p>
  
  <p><strong>EDIT:</strong>
  Deleting from Images.xcassets, cleaning the project and copying the files into the bundle itself seems to work for me.</p>