UIViewController

public extension UIViewController
  • Displays the overlay inside the view controller.

    Declaration

    Swift

    func showOverlay(_ overlay: OverlayView)

    Parameters

    overlay

    the overlay view to display.

  • Call this method to update the frame of the overlay after layout changes..

    Declaration

    Swift

    func updateOverlayFrame()
  • Hides all overlays displayed inside the view controller.

    Declaration

    Swift

    func hideOverlay()