<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionViewListCell/separatorLayoutGuide",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UICollectionViewListCell(py)separatorLayoutGuide"
  },
  "title" : "separatorLayoutGuide"
}
-->

# separatorLayoutGuide

A guide for laying out separators in relation to the primary content in the cell.

```
var separatorLayoutGuide: UILayoutGuide { get }
```

## Discussion

This property only takes effect in a layout section that supports separators, like a section that you create using [`list(using:layoutEnvironment:)`](/documentation/UIKit/NSCollectionLayoutSection/list(using:layoutEnvironment:)).

The separator layout guide represents the frame of the separator, which the system uses to determine where to draw the separator at the bottom of the cell.

By default, when you apply a system-provided content configuration to a list cell, the separator automatically aligns to the primary text in the content view. For custom subviews in the cell, you need to add a constraint to this layout guide that connects it to the leading edge of the cell’s primary content.

![Diagram of a Favorites menu item with a separator below the cell, indicating another cell below. The separator layout guide appears around the frame of the separator. The leading edge of the separator layout guide is constrained to the leading edge of the primary content, the beginning of the word “Favorites.”](images/com.apple.uikit/media-3680734@2x.png)

To align the separators to your content, add constraints to the leading or trailing anchors of this layout guide.

---

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)