<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScreen/overscanCompensation-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIScreen(py)overscanCompensation"
  },
  "title" : "overscanCompensation"
}
-->

# overscanCompensation

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

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

## 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`](/documentation/UIKit/UIScreen/OverscanCompensation-swift.enum) enumeration.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)