<!--
{
  "availability" : [
    "iOS: 4.0.0 - 16.0.0",
    "iPadOS: 4.0.0 - 16.0.0",
    "macCatalyst: 13.1.0 - 16.0.0",
    "macOS: 10.7.0 - 13.0.0",
    "tvOS: 9.0.0 - 16.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVAssetExportSession/exportPresets(compatibleWith:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVAssetExportSession(cm)exportPresetsCompatibleWithAsset:"
  },
  "title" : "exportPresets(compatibleWith:)"
}
-->

# exportPresets(compatibleWith:)

Returns compatible export presets for the asset.

```
class func exportPresets(compatibleWith asset: AVAsset) -> [String]
```

## Parameters

`asset`

An asset to export.

## Return Value

An array of compatible presets. See [Export presets](/documentation/AVFoundation/export-presets) for preset values an asset export session supports.

## Discussion

Not all export presets are compatible with all assets. For example, video-only assets aren’t compatible with an audio-only preset. Call this method to determine the compatible presets for the asset you’re exporting.

> Important:
> Load the asset’s ``doc://com.apple.avfoundation/documentation/AVFoundation/AVAsset/tracks`` property before calling this method to avoid blocking the calling thread.

---

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)