---
title: canOverlapSourceViewRect
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipopoverpresentationcontroller/canoverlapsourceviewrect
---

# canOverlapSourceViewRect

A Boolean value indicating whether the popover can overlap its view rectangle.

## Declaration

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

## Discussion

Discussion Setting this property to true allows the popover to overlap the rectangle in the sourceRect property when space is constrained. The default value of this property is false, which prevents the popover from overlapping the source rectangle.

## See Also

### Configuring the popover appearance

- [popoverLayoutMargins](uikit/uipopoverpresentationcontroller/popoverlayoutmargins.md)
- [backgroundColor](uikit/uipopoverpresentationcontroller/backgroundcolor.md)
- [passthroughViews](uikit/uipopoverpresentationcontroller/passthroughviews.md)
- [popoverBackgroundViewClass](uikit/uipopoverpresentationcontroller/popoverbackgroundviewclass.md)
