---
title: rangeOfCaptions
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptionconversionwarning/rangeofcaptions
---

# rangeOfCaptions

The range of the captions for which the system issued a warning.

## Declaration

```swift
var rangeOfCaptions: NSRange { get }
```

## Discussion

Discussion This object only references captions with the same time range. If captions with different start times and durations have similar problems, or if individual captions have multiple problems, the validator generates separate instances of this class for each problem case.

## See Also

### Inspecting the warning

- [warningType](avfoundation/avcaptionconversionwarning/warningtype-swift.property.md)
- [adjustment](avfoundation/avcaptionconversionwarning/adjustment.md)
- [AVCaptionConversionAdjustment](avfoundation/avcaptionconversionadjustment.md)
- [AVCaptionConversionWarning.WarningType](avfoundation/avcaptionconversionwarning/warningtype-swift.struct.md)
