---
title: overscanCompensation
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiscreen/overscancompensation-swift.property
---

# overscanCompensation

For an external screen, this property sets the desired technique to compensate for overscan.

## Declaration

```swift
var overscanCompensation: UIScreen.OverscanCompensation { get set }
```

## Discussion

Discussion Some external displays may be unable to reliably display all of the pixels to the user. To compensate, choose one of the techniques described in the  UIScreen.OverscanCompensation enumeration.

## See Also

### Managing overscan compensation

- [overscanCompensationInsets](uikit/uiscreen/overscancompensationinsets.md)
- [UIScreen.OverscanCompensation](uikit/uiscreen/overscancompensation-swift.enum.md)
