---
title: forcedSubtitlesOnly
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avassettrack/associationtype/forcedsubtitlesonly
---

# forcedSubtitlesOnly

An association between a subtitle track containing forced and nonforced subtitles and one with a subtitle track containing only forced subtitles.

## Declaration

```swift
static let forcedSubtitlesOnly: AVAssetTrack.AssociationType
```

## Discussion

Discussion Nonforced subtitles typically transcribe dialogue in a media asset and are typically not presented by default. Forced subtitles are those that are essential for presentation even if the user disables playback of normal subtitles (for example, when a character speaks in a language foreign to that of the audio track). Subtitle tracks must present forced subtitles with the same content and the same language, but may have different timing.

## See Also

### Track association types

- [audioFallback](avfoundation/avassettrack/associationtype/audiofallback.md)
- [chapterList](avfoundation/avassettrack/associationtype/chapterlist.md)
- [metadataReferent](avfoundation/avassettrack/associationtype/metadatareferent.md)
- [selectionFollower](avfoundation/avassettrack/associationtype/selectionfollower.md)
- [timecode](avfoundation/avassettrack/associationtype/timecode.md)
- [renderMetadataSource](avfoundation/avassettrack/associationtype/rendermetadatasource.md)
