Matt Winters
Matt Winters

Reputation: 1109

Shifting UITableViewCell Content to the right

Is there a simple way to shift cell content to the right? Like a horizontal alignment or some sort of offset?

I'd rather not

Any ideas please. Thanks.

Upvotes: 0

Views: 532

Answers (1)

Alex Reynolds
Alex Reynolds

Reputation: 96927

Create a UIView that contains subviews positioned where you want, i.e. set their frames. Then set the cell's contentView property to this parent view.

Upvotes: 1

Related Questions