<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIScreen/OverscanCompensation-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIScreenOverscanCompensation"
  },
  "title" : "UIScreen.OverscanCompensation"
}
-->

# UIScreen.OverscanCompensation

Describes different techniques for compensating for pixel loss at the edge of the screen.

```
enum OverscanCompensation
```

## Topics

### Constants

[`UIScreen.OverscanCompensation.scale`](/documentation/UIKit/UIScreen/OverscanCompensation-swift.enum/scale)

The final composited framebuffer for the screen is scaled so that all pixels lie in the area visible on the screen.

[`UIScreen.OverscanCompensation.insetBounds`](/documentation/UIKit/UIScreen/OverscanCompensation-swift.enum/insetBounds)

The screen bounds are reduced in size so that all pixels in the framebuffer are visible on the screen.

[`UIScreen.OverscanCompensation.none`](/documentation/UIKit/UIScreen/OverscanCompensation-swift.enum/none)

No scaling occurs. Use [`overscanCompensationInsets`](/documentation/UIKit/UIScreen/overscanCompensationInsets) to get the insets required to avoid clipping.

[`insetApplicationFrame`](/documentation/UIKit/UIScreen/OverscanCompensation-swift.enum/insetApplicationFrame)

The application frame is reduced in size to compensate for overscan. Content drawn outside the application frame may be clipped.



---

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)