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)
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:
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)...
with the image size being this by default - and it resizing automatically inside the UITableViewCell.
Any tips & hints would be nice.
Thanks!
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)

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:

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)...

with the image size being this by default - and it resizing automatically inside the UITableViewCell.
Any tips & hints would be nice.
Thanks!