0

I am using custom cell containing labels and images in tableview.On Button action am shrinking the tableview frame but the custom cell width isn't shrinking accordingly.

Thanks in advance.

rehan
  • 141
  • 1
  • 2
  • 9

1 Answers1

0

For that perticular Cell do like this,

UIView *contentView = cell.contentView;
contentView.frame = tableview.frame;

Hope this will help u. Get the content view of that cell and set frame to it.

Sasi
  • 1,666
  • 2
  • 24
  • 44