title: UIButton image static size
body: <p>I want to have default button's image have static size always, and not the frame calculated by <code>sizeToFit()</code> somewhere in private API of UIButton. </p>
  
  <p>So, I don't want to resize image itself, and in case my image is <code>2500x1600</code>, for example, I want the image to be always <code>24x24</code>, so it shouldn't resize the actual button. <code>button.imageEdgeInsets</code> doesn't work for me in this case. Also <code>imageRect</code> method overriding didn't give correct result, since <code>contentRect</code> is already wrong at that point. Also, I <strong>don't want</strong> to use any kind of <code>resizing image</code> code. I just want to have native <code>imageView</code> have static size.</p>
  
  <p>Is there a way to do that with native <code>image</code> property. I'm trying to find solutions, before I finally decide to have custom imageView subView</p>
  
  <p><strong>Updated:</strong>
  It is supposed to not have static width for button. So button's width should depend on the text. But the image size should be static.</p>