---
title: needsDisplayOnBoundsChange
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/calayer/needsdisplayonboundschange
---

# needsDisplayOnBoundsChange

A Boolean indicating whether the layer contents must be updated when its bounds rectangle changes.

## Declaration

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

## Discussion

Discussion When this property is set to true, the layer automatically calls its setNeedsDisplay() method whenever its bounds property changes. The default value of this property is false.

## See Also

### Updating layer display

- [setNeedsDisplay()](quartzcore/calayer/setneedsdisplay().md)
- [setNeedsDisplay(_:)](quartzcore/calayer/setneedsdisplay(_:).md)
- [displayIfNeeded()](quartzcore/calayer/displayifneeded().md)
- [needsDisplay()](quartzcore/calayer/needsdisplay().md)
- [needsDisplay(forKey:)](quartzcore/calayer/needsdisplay(forkey:).md)
