ScreenVisibleContainer
public protocol ScreenVisibleContainer : ScreenContainer
A screen container that can be visible.
This is a simple protocol that is used to determine the visibility of a container.
The UIWindow
and UIViewController
classes and all their subclasses already implement this protocol
See also
ScreenContainer
-
A Boolean value indicating whether the container is visible.
Declaration
Swift
var isVisible: Bool { get }
-
The scene containing the container.
Declaration
Swift
@available(iOS 13.0, tvOS 13.0, *) var windowScene: UIWindowScene? { get }