sectionInsetReference
The boundary that section insets are defined in relation to.
Declaration
var sectionInsetReference: UICollectionViewFlowLayout.SectionInsetReference { get set }Discussion
The default value of this property is UICollectionViewFlowLayout.SectionInsetReference.fromContentInset.
The minimum value of this property is always the collection view’s contentInset. For example, if the value of this property is UICollectionViewFlowLayout.SectionInsetReference.fromSafeArea, but the adjusted content inset is greater than the combination of the safe area and section insets, then the section’s content is aligned with the content inset instead.