I try to change the with of a cell in a tableview, I don\'t do a custom cell, I just subclass uitableviewcell.
This is the class
@implementation cus
If you want to change the height of the cell the implement the delegate method tableView:heightForRowAtIndexPath:
.
If you want to change the width then you should only change it visually (set transparent background for all cell's subviews except the ones that shouldn't be) or, if all the cells should have the same width, you might change the entire table view's width, as @Jerry Jones has advised...
Table views change the frame of cells when they are added to the table view. If you want to change the width of a cell, you should either change the width of the table, or change the width of the contentView in the cell.