ashishkakkad8 / AKSwiftSlideMenu

Slide Menu (Drawer) in Swift
https://ashishkakkad.com/
MIT License
284 stars 84 forks source link

show menuVC on top of UITabbar #25

Open SwiftAmit opened 5 years ago

SwiftAmit commented 5 years ago

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

SwiftAmit commented 5 years ago

got any solution?

igunther commented 5 years ago

@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 commented 5 years ago

@igunther working fine