Floaty icon indicating copy to clipboard operation
Floaty copied to clipboard

How to cover Overlay on TabBar & NavigationBar

Open arishanapalli opened this issue 3 years ago • 0 comments

Hi How to cover the overlay on Tabbar & NavigtaionBar too ?

 fileprivate func setOverlayView() {
    setOverlayFrame()
    overlayView.backgroundColor = overlayColor
    overlayView.alpha = 0
    overlayView.isUserInteractionEnabled = true
  }

  fileprivate func setOverlayFrame() {
    if let superview = superview {
      overlayView.frame = CGRect(
        x: 0,y: 0,
        width: superview.bounds.width,
        height: superview.bounds.height
      )
    }
  }

arishanapalli avatar Aug 21 '21 23:08 arishanapalli