---
title: "showPopover(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nspopovertouchbaritem/showpopover(_:)"
---

# showPopover(_:)

Replaces the main bar with this item’s popover bar.

## Declaration

```swift
func showPopover(_ sender: Any?)
```

## Discussion

Discussion If this item is not visible, this method will have no effect.

## See Also

### Expanding and collapsing a popover

- [dismissPopover(_:)](appkit/nspopovertouchbaritem/dismisspopover(_:).md)
- [makeStandardActivatePopoverGestureRecognizer()](appkit/nspopovertouchbaritem/makestandardactivatepopovergesturerecognizer().md)
