Hi All,
I have a custom background view that I am assigning to the .backgroundView property of my SCTableViewCells in the - (void)tableViewModel:(SCTableViewModel *)tableViewModel willDisplayCell:(SCTableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath method.
However, the width of the image that I am using is 304 points and the table view cell appears to be marginally narrower (maybe two or three points) so the view (which contains an image, amongst other things) is being slightly squashed, and given the intricacies of this image it makes it look quite distorted. Is there an easy way in code to modify the width of the cell? I have tried in the willConfigureCell: method to set the cell.frame = CGRect(...) but that does not make a difference. I would also prefer not to design an entirely custom cell in IB (using STV 2.0) as this that seems like a lot of overhead for such a minor modification to the cell.
Thanks,
Matthew