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
var insetsContentViewsToSafeArea: Bool { get set }Discussion
When the value of this property is true (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 isn’t obscured by other views, or by the edges of the device.
When the value of this property is false, the table view doesn’t 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.