title: UIImage size returned from 'requestImageForAsset' is not even close to the 'targetSize' setting
body: <p>I've thoroughly read through the latest iOS8 photo frame work and I am trying to fetch some assets from the users library to display. I let the user edit 4 images at once. But because of this, I need to compress the images otherwise the app will crash.</p>
  
  <p>I am using a PHImageManager to load the images via the following code:</p>
  
  <pre><code>func processImages()
      {
          println("Processing")
          _selectediImages = Array()
          _cacheImageComplete = 0
          for asset in _selectedAssets
          {
              var options:PHImageRequestOptions = PHImageRequestOptions()
              options.version = PHImageRequestOptionsVersion.Unadjusted
              options.synchronous = true
              var minRatio:CGFloat = 1
              if(CGFloat(asset.pixelWidth) &gt; UIScreen.mainScreen().bounds.width || CGFloat(asset.pixelHeight) &gt; UIScreen.mainScreen().bounds.height)
              {
                 minRatio = min(UIScreen.mainScreen().bounds.width/(CGFloat(asset.pixelWidth)), (UIScreen.mainScreen().bounds.height/CGFloat(asset.pixelHeight)))
              }
              var size:CGSize = CGSizeMake((CGFloat(asset.pixelWidth)*minRatio),(CGFloat(asset.pixelHeight)*minRatio))
              println("Target size is \(size)")
              PHImageManager.defaultManager().requestImageForAsset(asset, targetSize:size, contentMode: .AspectFill, options: options)
                  {
                      uiimageResult, info in
                      var image = iImage(uiimage: uiimageResult)
                      println("Result Size Is \(uiimageResult.size)")
              }
  
          }
  
      }
  </code></pre>
  
  <p>As you can see, I am calculating the target size to make sure the image is at least no bigger than the screen. If it is, I do a ratio scale down on the image. However here is a typical print log</p>
  
  <blockquote>
    <p>Target size is (768.0,798.453531598513) 
    Result Size Is (1614.0,1678.0)</p>
  </blockquote>
  
  <p>Even though I am setting the target size to 768x798 (in that specific case) the resulting UIImage it's giving me is more than double that. Now according to the documentation, the targetSize parameter</p>
  
  <p>"The target size of image to be returned."</p>
  
  <p>Not the clearest explanation but from my experiments it is NOT matching this.</p>
  
  <p>If you have some suggestions I'd love to hear it!</p>