Difference between background and content presentation in uitableviewcell

Hi, what is the difference between content presentation and background in uitableviewcell?

As I read in apple docs, I understand that the content view property is a superview for content, but what is the background for?

Thank.

+1
source share
1 answer

contentView:

The content view of the UITableViewCell is the default supervisor for the content displayed by the cell.

backgroundView:

nil (UITableViewStylePlain) non-nil UITableViewStyleGrouped). UITableViewCell .

UITableViewCell

+1

Source: https://habr.com/ru/post/1734105/


All Articles