---
title: "MACaptionAppearanceSetActiveProfileID(_:)"
framework: mediaaccessibility
role: symbol
role_heading: Function
path: "mediaaccessibility/macaptionappearancesetactiveprofileid(_:)"
---

# MACaptionAppearanceSetActiveProfileID(_:)

## Declaration

```swift
func MACaptionAppearanceSetActiveProfileID(_ profileID: CFString)
```

## Parameters

- `profileID`: The profileID to make active.

## Discussion

Discussion Sets the currently-selected caption drawing profileID system wide. Behavior is undefined if NULL or an invalid profileID is provided

## See Also

### Profile settings

- [MACaptionAppearanceCopyProfileIDs()](mediaaccessibility/macaptionappearancecopyprofileids().md)
- [MACaptionAppearanceCopyActiveProfileID()](mediaaccessibility/macaptionappearancecopyactiveprofileid().md)
- [MACaptionAppearanceCopyProfileName(_:)](mediaaccessibility/macaptionappearancecopyprofilename(_:).md)
- [MACaptionAppearanceExecuteBlockForProfileID(_:_:)](mediaaccessibility/macaptionappearanceexecuteblockforprofileid(_:_:).md)
