Instance Property

insetsContentViewsToSafeArea

A Boolean value that indicates whether the table view adjusts the content views of its cells, headers, and footers to fit within the safe area.

Declaration

@property(nonatomic) BOOL insetsContentViewsToSafeArea;

Discussion

When the value of this property is YES (the default), the table view adjusts the insets of the content view within each of its cells, headers, and footers on the leading and trailing sides to make the content fit within the safe area. The safe area ensures that the content within the table view is not obscured by other views, or by the edges of the device.

When the value of this property is NO, the table view does not adjust the insets of the content view within each of its cells, headers, and footers to account for the safe area. In this case, the content views extend to the bounds of their respective superviews, which may cause the content to be obscured.

See Also

Configuring Cell Height and Layout

rowHeight

The default height (in points) of each row in the table view.

estimatedRowHeight

The estimated height of rows in the table view.

cellLayoutMarginsFollowReadableWidth

A Boolean value that indicates whether the cell margins are derived from the width of the readable content guide.