<!--
{
  "availability" : [
    "macOS: 10.3.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebView-swift.class/canShowMIMEType(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WebView(cm)canShowMIMEType:"
  },
  "title" : "canShowMIMEType(_:)"
}
-->

# canShowMIMEType(_:)

Returns whether the receiver can display content of a given MIME type.

```
class func canShowMIMEType(_ MIMEType: String!) -> Bool
```

## Parameters

`MIMEType`

The MIME type of the content.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the receiver can display content of the specified MIME type where `MIMEType` is one of the standard types like “image/gif”; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

---

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)