Change the width of the cell content
Posted
by user313439
on Stack Overflow
See other posts from Stack Overflow
or by user313439
Published on 2010-05-16T17:14:05Z
Indexed on
2010/05/16
17:20 UTC
Read the original article
Hit count: 146
iphone
|objective-c
I want to change the width of the cell content. (see the pic)
My code:
CGSize contentViewSize = cell.contentView.bounds.size;
contentViewSize.width = 20.0f;
But there is no effect, what's wrong?
Any suggestion will be appreciated, thanks.
© Stack Overflow or respective owner