<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMovie/is(compatibleWithFileType:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVMovie(im)isCompatibleWithFileType:"
  },
  "title" : "is(compatibleWithFileType:)"
}
-->

# is(compatibleWithFileType:)

Returns a Boolean value that indicates whether the system can create a movie header of the specified type.

```
func `is`(compatibleWithFileType fileType: AVFileType) -> Bool
```

## Parameters

`fileType`

A file type to test.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the movie only contains tracks whose media types are allowed by the specified file type; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

---

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)