---
title: overlayContainerView
framework: visionkit
role: symbol
role_heading: Instance Property
path: visionkit/datascannerviewcontroller/overlaycontainerview
---

# overlayContainerView

A view that the data scanner displays over its view without interfering with the Live Text interface.

## Declaration

```swift
@MainActor var overlayContainerView: UIView { get }
```

## Mentioned in

Scanning data with the camera

## Discussion

Discussion Optionally, add custom highlights to this view that doesn’t interfere with hit-testing or the guidance objects. If you want to add interface objects above the highlights, add those objects as subviews of the view property.

## See Also

### Customizing the interface

- [regionOfInterest](visionkit/datascannerviewcontroller/regionofinterest.md)
