<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaption/text",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaption(py)text"
  },
  "title" : "text"
}
-->

# text

The caption text.

```
var text: String { get }
```

## Discussion

Apple iTT format text supports the same Unicode code points that an XML document supports. The system converts XML special characters like ‘&’ to corresponding character-reference syntax when it writes the caption to a file. The text may contain the line-breaking character sequences LF, CR, or CF+LF.

CEA608 closed captions support the following Unicode characters. They don’t support the line-breaking character sequences LF, CR, or CF+LF.

|Range     |U+0020 - U+005F                                               |
|----------|--------------------------------------------------------------|
|Range     |U+0061 - U+007E                                               |
|Range     |U+00A1 - U+00A5                                               |
|Characters|U+00A9, U+00AB, U+00AE, U+00B0, U+00BB, U+00BD, U+00BF        |
|Range     |U+00C0-U+00C5                                                 |
|Range     |U+00C7-U+00CF                                                 |
|Range     |U+00D1-U+00D6                                                 |
|Range     |U+00D8-U+00DC                                                 |
|Range     |U+00DF-U+00E5                                                 |
|Range     |U+00E7-U+00EF                                                 |
|Range     |U+00F1-U+00FC                                                 |
|Range     |U+2018-U+2019                                                 |
|Range     |U+2018-U+201D                                                 |
|Character |U+2022                                                        |
|Range     |U+2120-U+2122                                                 |
|Characters|U+2501, U+2503, U+250F, U+2513, U+2517, U+251B, U+2588, U+266A|

---

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)