---
title: refreshCurrentPreviewItem()
framework: quicklookui
role: symbol
role_heading: Instance Method
path: quicklookui/qlpreviewpanel/refreshcurrentpreviewitem()
---

# refreshCurrentPreviewItem()

Asks the preview panel to recompute the preview of the current preview item.

## Declaration

```swift
func refreshCurrentPreviewItem()
```

## See Also

### Managing the Preview Items

- [dataSource](quicklookui/qlpreviewpanel/datasource.md)
- [reloadData()](quicklookui/qlpreviewpanel/reloaddata().md)
- [currentPreviewItemIndex](quicklookui/qlpreviewpanel/currentpreviewitemindex.md)
- [currentPreviewItem](quicklookui/qlpreviewpanel/currentpreviewitem.md)
- [displayState](quicklookui/qlpreviewpanel/displaystate.md)
