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

# refreshPreviewItem()

Updates the preview to display the currently previewed item.

```
func refreshPreviewItem()
```

## Discussion

When you modify the object that the [`previewItem`](/documentation/QuickLookUI/QLPreviewView/previewItem) property points to, call this method to generate and display the new preview.

---

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)