UIView

public extension UIView
  • Disables user interactions and displays the overlay atop of the current view.

    Declaration

    Swift

    func showOverlay(_ overlay: OverlayView)

    Parameters

    overlay

    the overlay view to display.

  • Enables user interactions and hides all overlays displayed for the current view.

    Declaration

    Swift

    func hideOverlay()