---
title: ifSupported
framework: Core Animation
role: symbol
role_heading: Type Property
platforms: [iOS 18.0+, iPadOS 18.0+, Mac Catalyst 18.0+, macOS 15.0+, tvOS 18.0+, visionOS 2.0+]
path: quartzcore/calayer/tonemapmode-swift.struct/ifsupported
---

# ifSupported

## Declaration

```swift
static let ifSupported: CALayer.ToneMapMode
```

## See Also

### Variables

- [automatic](quartzcore/calayer/tonemapmode-swift.struct/automatic.md)
- [never](quartzcore/calayer/tonemapmode-swift.struct/never.md)
