<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.4.0 -",
    "visionOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionRenderer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptionRenderer"
  },
  "title" : "AVCaptionRenderer"
}
-->

# AVCaptionRenderer

An object that renders captions for display at a particular time.

```
class AVCaptionRenderer
```

## Overview

This object renders a caption scene for a given time from a collection of captions. If there aren’t any captions to display at the specified time, the renderer draws an empty flood fill with a zero alpha or a color.

## Topics

### Configuring the renderer

[`captions`](/documentation/AVFoundation/AVCaptionRenderer/captions)

The captions to render.

[`bounds`](/documentation/AVFoundation/AVCaptionRenderer/bounds)

The drawing bounds of caption scenes.

### Determining scene changes

[`captionSceneChanges(in:)`](/documentation/AVFoundation/AVCaptionRenderer/captionSceneChanges(in:))

Determine render time ranges within an enclosing time range to account for visual changes among captions.

[`AVCaptionRenderer.Scene`](/documentation/AVFoundation/AVCaptionRenderer/Scene)

An object that holds a time range and an associated state which indicates when the renderer draws output.

### Rendering a caption

[`render(in:for:)`](/documentation/AVFoundation/AVCaptionRenderer/render(in:for:))

Draw the captions for the time you specify.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)