<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionUnitsType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@E@AVCaptionUnitsType"
  },
  "title" : "AVCaptionUnitsType"
}
-->

# AVCaptionUnitsType

A structure that defines a units for caption formats.

```
enum AVCaptionUnitsType
```

## Overview

Some geometry values may use sizing and positioning with different units. In some cases, an object might allow multiple kinds of dimensions varying by units.

## Topics

### Unit types

[`AVCaptionUnitsType.cells`](/documentation/AVFoundation/AVCaptionUnitsType/cells)

A cell-based unit type.

[`AVCaptionUnitsType.percent`](/documentation/AVFoundation/AVCaptionUnitsType/percent)

A percentage-based unit type.

[`AVCaptionUnitsType.unspecified`](/documentation/AVFoundation/AVCaptionUnitsType/unspecified)

An unspecified unit type.



---

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)