<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLookUI",
  "identifier" : "/documentation/QuickLookUI/QLPreviewPanel/sharedPreviewPanelExists()",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Quick Look UI"
    ],
    "preciseIdentifier" : "c:objc(cs)QLPreviewPanel(cm)sharedPreviewPanelExists"
  },
  "title" : "sharedPreviewPanelExists()"
}
-->

# sharedPreviewPanelExists()

Returns a Boolean value that indicates whether the system has created a shared Quick Look preview panel.

```
class func sharedPreviewPanelExists() -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the shared Quick Look preview panel instance has been created, 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)