Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to cover Overlay on TabBar & NavigationBar #313

Open
arishanapalli opened this issue Aug 21, 2021 · 0 comments
Open

How to cover Overlay on TabBar & NavigationBar #313

arishanapalli opened this issue Aug 21, 2021 · 0 comments

Comments

@arishanapalli
Copy link

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
      )
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant