0

On UITableViewCell there is default imageview where we can set image on Cell. Now i want to resize or reframe the default imageview of UITableCell. I have used following code but there is no effects. I know it is possible if we use custom imageView. but i want to do for default imageview of cell.

[cell.imageView setFrame:CGRectMake(10, 10, 45, 45)];   
shrestha2lt8
  • 305
  • 1
  • 9

1 Answers1

0

You cannot change size of default UIImageView in UITableViewCell, because it's readonly. Instead you can create your own UITableViewCell or add UIImageView as subview with any size you want

Timur Mustafaev
  • 4,869
  • 9
  • 63
  • 109