<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.4.0 -",
    "visionOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVLegibleMediaOptionsMenuController/Delegate-swift.protocol/legibleMenuController(_:didRequestCaptionPreviewForProfileID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(pl)AVLegibleMediaOptionsMenuControllerDelegate(im)legibleMenuController:didRequestCaptionPreviewForProfileID:"
  },
  "title" : "legibleMenuController(_:didRequestCaptionPreviewForProfileID:)"
}
-->

# legibleMenuController(_:didRequestCaptionPreviewForProfileID:)

```
optional func legibleMenuController(_ menuController: AVLegibleMediaOptionsMenuController, didRequestCaptionPreviewForProfileID profileID: String)
```

## Parameters

`menuController`

The legible options menu controller.

`profileID`

MACaptionAppearance profile ID as an NSString for the caption style to preview

## Discussion

\abstract Called when a caption preview should be displayed
\discussion The client should display a caption preview using the MACaptionAppearance profile ID provided. The client is responsible for rendering and positioning the preview.

---

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)