Contents

expandedInterfaceSession

A session object that tracks the lifecycle of the status item’s active expanded interface.

Declaration

var expandedInterfaceSession: NSStatusItemExpandedInterfaceSession? { get }

Discussion

The status item sets this property to a valid session object before calling statusItem(_:didBegin:) on the expandedInterfaceDelegate, and sets the property to nil before calling statusItemDidEndExpandedInterfaceSession(_:animated:).

See Also

Managing the expanded interface