---
title: "supportsFrameSemantics(_:)"
framework: arkit
role: symbol
role_heading: Type Method
path: "arkit/arconfiguration/supportsframesemantics(_:)"
---

# supportsFrameSemantics(_:)

Checks whether a particular feature is supported.

## Declaration

```swift
class func supportsFrameSemantics(_ frameSemantics: ARConfiguration.FrameSemantics) -> Bool
```

## Parameters

- `frameSemantics`: The frame semantics for which to check device support.

## Return Value

Return Value A boolean value that indicates whether the device supports the argument frame semantics.

## Discussion

Discussion Call this function before attempting to enable a frame semantic on your app’s configuration. For example, if you call supportsFrameSemantic(.sceneDepth) on ARWorldTrackingConfiguration, the function returns true on devices that support the LiDAR scanner’s depth buffer. warning: Do not call this function on the superclass, ARConfiguration. Only configuration subclasses support frame semantics, such as those listed in Choose your session's configuration.

## See Also

### Enabling frame features

- [frameSemantics](arkit/arconfiguration/framesemantics-swift.property.md)
- [ARConfiguration.FrameSemantics](arkit/arconfiguration/framesemantics-swift.struct.md)
