UIApplication

public extension UIApplication
  • Returns the UIWindowSceen of the active sceen currently shown to the user.

    Declaration

    Swift

    @MainActor
    var activeWindowScene: UIWindowScene? { get }
  • Returns the currently active window.

    Declaration

    Swift

    @MainActor
    var keyWindow: UIWindow? { get }