<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPopover/isShown",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPopover(py)shown"
  },
  "title" : "isShown"
}
-->

# isShown

The display state of the popover.

```
var isShown: Bool { get }
```

## Discussion

The value is <doc://com.apple.documentation/documentation/Swift/true> if the popover is being shown, <doc://com.apple.documentation/documentation/Swift/false> otherwise.

The popover is considered to be shown from the point when [`show(relativeTo:of:preferredEdge:)`](/documentation/AppKit/NSPopover/show(relativeTo:of:preferredEdge:)) is invoked. A popover is considered closed in response to an invocation of either [`close()`](/documentation/AppKit/NSPopover/close()) or [`performClose(_:)`](/documentation/AppKit/NSPopover/performClose(_:)).

---

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)