Gives the cell a chance to modify the attributes provided by the layout object.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The attributes provided by the layout object. These attributes represent the values that the layout intends to apply to the cell.
The final attributes to apply to the cell.
The default implementation of this method adjusts the size values to accommodate changes made by a self-sizing cell. Subclasses can override this method and use it to adjust other layout attributes too. If you override this method and want the cell size adjustments, call
super first and make your own modifications to the returned attributes.