SwiftUI: How to make Sticky header with Grid/Stack Views?
Xcode 12 — ios14
1 min readJul 1, 2020
Apple have in-build support for Sticky Headers/Footer for Stack/grid view types.
- Init Grid/Stack with pinned view Parameter. Pinned View accept array of PinnedScrollableViews view type.
- Created section for the Type and initialise Cells and Header/Footer section.