A Boolean indicating whether the layer is allowed to perform edge antialiasing.
SDKs
- iOS 2.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Animation
Declaration
var allowsEdgeAntialiasing: Bool { get set }
Discussion
When the value is true
, the layer is allowed to antialias its edges, as requested by the value in the layer’s edge
property. The default value is read from the boolean UIView
property in the main bundle’s Info
file. If no value is found, the default value is false
.