Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AreYouAMac

macrumors regular
Original poster
Jan 5, 2008
110
0
Hey guys,

I have an image that I am using in a Cell, but I would like to also use it in a New View when the user touches the cell.

Is it possible to use the same image (but the default size of the image fits is shown in the New View) and resize the image to fit in the cell?

Here is how the cell looks like with the image (the UIImage view is 60 x 60)
Screenshot2010-11-19at52734PM.png


Here is the "New View" with the same UIImage that would be shown from the UITableViewCell. This image (default size) would be 280 x 360.

When I resize the image to be bigger..... it doesn't resize in the cell... like this:
Screenshot2010-11-19at54528PM.png


For the last image, I resized the image to only 100x100

Here is how the New View would look with the same image (280 x 360)...
Screenshot2010-11-19at53637PM.png

with the image size being this by default - and it resizing automatically inside the UITableViewCell.

Any tips & hints would be nice.

Thanks!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.