AKSwiftSlideMenu icon indicating copy to clipboard operation
AKSwiftSlideMenu copied to clipboard

show menuVC on top of UITabbar

Open SwiftAmit opened this issue 6 years ago • 3 comments

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

SwiftAmit avatar Feb 12 '19 09:02 SwiftAmit

got any solution?

SwiftAmit avatar Mar 25 '19 08:03 SwiftAmit

@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)

igunther avatar Mar 25 '19 11:03 igunther

@igunther working fine

SwiftAmit avatar Mar 26 '19 05:03 SwiftAmit