title: Setting UIImage dimensions on UITableViewCell image
body: <p>I've got a standard <code>UITableViewCell</code> where I'm using the text and image properties to display a <code>favicon.ico</code> and a label. For the most part, this works really well since <code>UIImage</code> supports the ICO format. However, some sites (like <a href="http://www.amazon.com/favicon.ico" rel="noreferrer">Amazon.com</a> say) have <code>favicon.ico</code>s that make use of the ICO format's ability to store multiple sizes in the same file. Amazon stores four different sizes, all the way up to 48x48.</p>
  
  <p>This results in most images being 16x16 except for a few that come in at 32x32 or 48x48 and make everything look terrible. I have searched here, the official forum, the documentation, and elsewhere without success. I have tried everything that I could think of to constrain the image size. The only thing that worked was an undocumented method, which I'm not about to use. This is my first app and my first experience with Cocoa (came from C#).</p>
  
  <p>In case I wasn't clear in what I'm looking for, ideally the advice would center around setting the dimensions of the <code>UIImage</code> so that the 48x48 version would scale down to 16x16 or a method to tell <code>UIImage</code> to use the 16x16 version present in the ICO file. I don't necessarily need code: just a suggestion of an approach would do me fine.</p>
  
  <p>Does anyone have any suggestions? (I asked in the official forum <a href="https://devforums.apple.com/message/75874#75874" rel="noreferrer">as well</a> because I've sunk more than a day into this already. If a solution is posted there, I'll put it here as well.)</p>