iphone - Change the width of the cell content -


I want to change the cell contents width (see picture)

My code:

  CGSize contentviews = cell Contentviewboundsskies; ContentViewSize.width = 20.0f;  

But there is no effect, what's wrong?
Any suggestions would be appreciated, thanks.

You content for contentView Must be reassigned.

  CGRect oldframe = cell.contentView.frame; Cell.contentView.frame = CGRectMake (oldframe.organ.x, oldframe.organ., Old frame.ize.width + 20, oldframe.edame.height);  

Comments