<!--
{
  "availability" : [
    "macOS: 10.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook/kQLPreviewPropertyMIMETypeKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "c:@kQLPreviewPropertyMIMETypeKey"
  },
  "title" : "kQLPreviewPropertyMIMETypeKey"
}
-->

# kQLPreviewPropertyMIMETypeKey

The web content or attachment mime type.

```
let kQLPreviewPropertyMIMETypeKey: CFString!
```

## Discussion

The associated value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFString> object. Use this key to retrievie the web content’s or attachment’s mime type. For the main data, the default type is `text/html`.

---

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)