title: UIButton's Custom image and frame
body: <p>I have the following code.</p>
  
  <pre><code>  UIImage *cancelImg = [UIImage imageNamed:@"cancel.jpeg"]; 
    UIButton *btnCancel = [UIButton buttonWithType:UIButtonTypeCustom];
    btnCancel.userInteractionEnabled = YES;
    [btnCancel setFrame:CGRectMake(0.0,0.0, 28.0, 28.0)];
    [btnCancel setImage:cancelImg forState:UIControlStateNormal];
    cell.accessoryView  = btnCancel;
  </code></pre>
  
  <p>cancel.jpeg currently is bigger than 28 x 28 and it's actually 100 x 100.</p>
  
  <p>Why does the button display 100 x 100 size of the image when I've set the UIButton's size to 28 x 28?</p>