dekatotoro / SlideMenuControllerSwift

iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.
MIT License
3.4k stars 755 forks source link

Left Menu Don't Work After Segue From AnotherViewController #164

Open ChStarfish opened 8 years ago

ChStarfish commented 8 years ago

Hello, All work fine, but after i perform segue from UIAlertView from AnotherViewContoller, left navigation button is tapped but slideMenu not open... can you help me?

ChStarfish commented 8 years ago

Hey guys, seriously, when I do

let alertController = UIAlertController(title: "Order shipped" message: "Your order has shipped, We will contact You within 5 min.", preferredStyle: .Alert)

let okButton = alertController.addAction(UIAlertAction(title: "OK", style: .By default, handler: { _ in let storyboard : UIStoryboard = UIStoryboard(name: "Main", bundle:nil)

let secondViewController = self.the storyboard?.instantiateViewControllerWithIdentifier("MainViewController") as! HomeViewController self.navigationController?.pushViewController(secondViewController, animated: true) }))

HomeViewController not to open the slideMenu, but the buttons to press!

What could it be?