mgamer
mgamer

Reputation: 14050

UITableViewCell don't clip content horizontally

Is it possible to have a table view with clipsToBounds set to YES and allow for UITableViewCells to have parts of its contents protruding from left and right of the cell?

Upvotes: 1

Views: 137

Answers (1)

Turch
Turch

Reputation: 1546

No, either the whole thing is clipped or none of it is. What you can do is have the table view in a parent view that is as tall as it needs to be and as wide as the screen, and set that to clip.

enter image description here

Upvotes: 1

Related Questions