<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CALayer/allowsEdgeAntialiasing",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(cs)CALayer(py)allowsEdgeAntialiasing"
  },
  "title" : "allowsEdgeAntialiasing"
}
-->

# allowsEdgeAntialiasing

A Boolean indicating whether the layer is allowed to perform edge antialiasing.

```
var allowsEdgeAntialiasing: Bool { get set }
```

## Discussion

When the value is <doc://com.apple.documentation/documentation/Swift/true>, the layer is allowed to antialias its edges, as requested by the value in the layer’s [`edgeAntialiasingMask`](/documentation/QuartzCore/CALayer/edgeAntialiasingMask) property. The default value is read from the boolean `UIViewEdgeAntialiasing` property in the main bundle’s `Info.plist` file. If no value is found, the default value is <doc://com.apple.documentation/documentation/Swift/false>.

## See Also

[`edgeAntialiasingMask`](/documentation/QuartzCore/CALayer/edgeAntialiasingMask)

A bitmask defining how the edges of the receiver are rasterized.



---

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)