---
title: limitsLayoutForSuspiciousContents
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nslayoutmanager/limitslayoutforsuspiciouscontents
---

# limitsLayoutForSuspiciousContents

A Boolean value that indicates whether the layout manager avoids laying out unusually long or suspicious input.

## Declaration

```swift
var limitsLayoutForSuspiciousContents: Bool { get set }
```

## Discussion

Discussion The default value of this property is false, which causes the layout manager to lay out whatever text you give it. Changing the value to true causes the layout manager to generate invalid layout information when it detects potentially suspicious content.

## See Also

### Configuring the global layout manager options

- [allowsNonContiguousLayout](uikit/nslayoutmanager/allowsnoncontiguouslayout.md)
- [hasNonContiguousLayout](uikit/nslayoutmanager/hasnoncontiguouslayout.md)
- [showsInvisibleCharacters](uikit/nslayoutmanager/showsinvisiblecharacters.md)
- [showsControlCharacters](uikit/nslayoutmanager/showscontrolcharacters.md)
- [usesFontLeading](uikit/nslayoutmanager/usesfontleading.md)
- [backgroundLayoutEnabled](appkit/nslayoutmanager/backgroundlayoutenabled.md)
- [usesDefaultHyphenation](uikit/nslayoutmanager/usesdefaulthyphenation.md)
