How to stretch a UIImage into a UIImageView?
<p>I have a UITableViewCell with a image in it. For some reason whatever UIImage I assign to it, it will not resize. </p>

<p>So I have some simple code like this:</p>

<pre><code>((BubbleCell *)cell).bubbleImage.image = newUIImage;
</code></pre>

<p>Here bubbleImage is a UIImageView, a member of BubbleCell(UITableViewCell). When I assign the image to it, it is always the original size. I want to stretch it. How?</p>

<p>I've tried setting the frame of the UIImageView, doesn't help</p>

<pre><code>((BubbleCell *)cell).bubbleImage.frame = CGRectMake(0, 0, 100, 100);
</code></pre>

<p>I then actually tried add the UIImageView as a subview directly and that works like this:</p>

<pre><code>[cell addSubview: resizedImageView];
</code></pre>

<p>However, I don't want to be adding subview each time cellForRowAtIndexPath is called. It will be hard to layout all the different views inside the cell. </p>

<p>Please help! </p>
