evnaz / ENSwiftSideMenu

A simple side menu for iOS written in Swift.
MIT License
1.82k stars 281 forks source link

Issue when adding subviews #175

Open uditha2233 opened 6 years ago

uditha2233 commented 6 years ago

I have implemented the ENSidemenu in my app. I'm trying to show my custom alert view using below code UIApplication.shared.delegate?.window??.rootViewController?.view.addSubview(self)

But my custom alert isn't showing. If I remove the ENSideMenu, then my code works fine and shows the alert.

Any idea what's wrong here?