从我的一些ViewController堆栈中,UINavigationController我提出了另一个ViewController并且永远不会回来,但问题是deinit{}没有调用。在导航之前我应该如何ViewController从堆栈中删除每个?还是我应该使用其他方法?现在我的代码看起来像
let destinationVC = storyboard?.instantiateViewControllerWithIdentifier("revealViewController") as! SWRevealViewController
self.presentViewController(destinationVC, animated: true, completion: nil)