Why does content View height less than UITableViewCell height?

前端 未结 1 1837
天命终不由人
天命终不由人 2020-12-12 01:40

I select UITableViewCell with also create xib file.

When I create custom tableViewCell with xib, I see contentView height is 0,5 point less than tableViewCell height

相关标签:
1条回答
  • 2020-12-12 02:23

    I believe the 0.5 is to account for the separator automatically applied to cell in a uitableview.

    0 讨论(0)
提交回复
热议问题