---
title: renderingMode
framework: avfaudio
role: symbol
role_heading: Instance Property
path: avfaudio/avaudiosession/renderingmode-swift.property
---

# renderingMode

The current audio session’s rendering mode.

## Declaration

```swift
var renderingMode: AVAudioSession.RenderingMode { get }
```

## Discussion

Discussion The value of this property is AVAudioSession.RenderingMode.notApplicable in the following cases: The currently selected port isn’t of type carAudio or, in iOS 18 and later, airPlay. Your app uses a playback API other than AVPlayer or AVSampleBufferAudioRenderer. Playback isn’t currently active. The audio session is inactive, muted, or not eligible for Now Playing.

## See Also

### Inspecting rendering mode and capabilities

- [AVAudioSession.RenderingMode](avfaudio/avaudiosession/renderingmode-swift.enum.md)
- [renderingModeChangeNotification](avfaudio/avaudiosession/renderingmodechangenotification.md)
- [supportedOutputChannelLayouts](avfaudio/avaudiosession/supportedoutputchannellayouts.md)
- [renderingCapabilitiesChangeNotification](avfaudio/avaudiosession/renderingcapabilitieschangenotification.md)
