The view used as the background of the cell when it is selected.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The default is
nil for cells in plain-style tables (
UITable) and non-
nil for section-group tables
UITable adds the value of this property as a subview only when the cell is selected. It adds the selected background view as a subview directly above the background view (
background) if it is not
nil, or behind all other views. Calling
set causes the selected background view to animate in and out with an alpha fade.