Contents

activeAppearance

A property that indicates whether the user interface has an active appearance.

Declaration

var activeAppearance: UIUserInterfaceActiveAppearance { get }

Discussion

The active appearance varies by platform and window management mode. On macOS, Stage Manager on iPad, and Windowed mode on iPad, the value is .active when at least one window is in the foreground and .inactive when no windows are in the foreground. On iOS and Full Screen mode on iPad, the value reflects whether the app itself is in the foreground (.active) or not (.inactive).

See Also

Retrieving interface-related traits