Contents

sectionHeadersPinToVisibleBounds

A Boolean value that indicates whether headers pin to the top of the collection view bounds during scrolling.

Declaration

var sectionHeadersPinToVisibleBounds: Bool { get set }

Discussion

When this property is true, section header views scroll with content until they reach the top of the screen, at which point they are pinned to the upper bounds of the collection view. Each new header view that scrolls to the top of the screen pushes the previously pinned header view offscreen.

The default value of this property is false.

See Also

Pinning headers and footers