Contents

isShown

The display state of the popover.

Declaration

var isShown: Bool { get }

Discussion

The value is true if the popover is being shown, false otherwise.

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

See Also

Managing a Popover’s Appearance