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

show menuVC on top of UITabbar #25

Open
SwiftAmit opened this issue Feb 12, 2019 · 3 comments
Open

show menuVC on top of UITabbar #25

SwiftAmit opened this issue Feb 12, 2019 · 3 comments

Comments

@SwiftAmit
Copy link

show menuVC on top of UITabbar, it shown below the UItabbar
simulator screen shot - iphone 8 - 2019-02-12 at 14 29 23

@SwiftAmit
Copy link
Author

got any solution?

@igunther
Copy link

@SwiftAmit I think the problem can be solved by changing the ownership of the menu. I am referring to the BaseViewController and this line:

self.view.addSubview(menuVC.view)

Try changing that to the top level window and take it from there:

let mainWindow = UIApplication.shared.keyWindow
mainWindow?.addSubview(menuVC.view)

@SwiftAmit
Copy link
Author

@igunther working fine

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

2 participants