Asks the delegate for the height to use for a row in a specified location.
- iOS 2.0+
- tvOS 9.0+
The table-view object requesting this information.
An index path that locates a row in
A nonnegative floating-point value that specifies the height (in points) that
row should be.
The method allows the delegate to specify rows with varying heights. If this method is implemented, the value it returns overrides the value specified for the
row property of
UITable for the given row.
There are performance implications to using
table instead of the
row property. Every time a table view is displayed, it calls
table on the delegate for each of its rows, which can result in a significant performance problem with table views having a large number of rows (approximately 1000 or more). See also