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