An object used to add a background to a section of a collection view.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
Each type of decoration item must have a unique element kind. Consider tracking these strings together in a way that makes it straightforward to identify each element.
Add a background to a section by setting that section's
Specifying Stacking Order
var zIndex: Int
The vertical stacking order of the decoration item in relation to other items in the section.