Instance Property

insetsContentViewsToSafeArea

A Boolean value that indicates whether the table view repositions its content view to be within the current safe area.

Declaration

var insetsContentViewsToSafeArea: Bool { get set }

Discussion

When the value of this property is true (the default), the table view adjusts the insets of its content view to ensure that the view is not obscured by other content, or by the edges of the device. When the value of this property is false, the table view does not modify the content insets to account for the safe area.

See Also

Configuring Cell Height and Layout

var rowHeight: CGFloat

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

var estimatedRowHeight: CGFloat

The estimated height of rows in the table view.

var cellLayoutMarginsFollowReadableWidth: Bool

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software