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.
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?