Is there a simple way to shift cell content to t开发者_如何转开发he right? Like a horizontal alignment or some sort of offset?
I'd rather not
include a blank cell.imageView.image, or
add spaces to each cell.textLabel.text.
Any ideas please. Thanks.
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.
精彩评论