<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionViewFlowLayout/SectionInsetReference-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UICollectionViewFlowLayoutSectionInsetReference"
  },
  "title" : "UICollectionViewFlowLayout.SectionInsetReference"
}
-->

# UICollectionViewFlowLayout.SectionInsetReference

Constants that describe the reference point of the section insets.

```
enum SectionInsetReference
```

## Topics

### Constants

[`UICollectionViewFlowLayout.SectionInsetReference.fromContentInset`](/documentation/UIKit/UICollectionViewFlowLayout/SectionInsetReference-swift.enum/fromContentInset)

Section insets are defined in relation to the collection view’s content inset.

[`UICollectionViewFlowLayout.SectionInsetReference.fromLayoutMargins`](/documentation/UIKit/UICollectionViewFlowLayout/SectionInsetReference-swift.enum/fromLayoutMargins)

Section insets are defined in relation to the margins of the layout.

[`UICollectionViewFlowLayout.SectionInsetReference.fromSafeArea`](/documentation/UIKit/UICollectionViewFlowLayout/SectionInsetReference-swift.enum/fromSafeArea)

Section insets are defined in relation to the safe area of the layout.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)