A Boolean indicating whether the layer is allowed to composite itself as a group separate from its parent.
- iOS 2.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Core Animation
When the value is
true and the layer’s opacity property value is less than
1, the layer is allowed to composite itself as a group separate from its parent. This gives correct results when the layer contains multiple opaque components, but may reduce performance.
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
true for apps linked against the iOS 7 SDK or later and
false for apps linked against an earlier SDK.