iOS8 dismissViewControllerAnimated:YES在Show Segue不工作

最近使用iOS8 Sdk(xcode6.1.1)使用Show Segue功能,V_A视图push到V_B视图,然后想通过使用按键返回V_A,我记得ios6的时候可以使用[self dismissViewControllerAnimated:YES];就能够返回上一个视图A,结果发现ios8不行,最后发现一个方法[self.navigationController popViewControllerAnimated:YES]可以实现方法;

stackoverflow:http://stackoverflow.com/questions/14537730/dismissviewcontrolleranimated-not-work-using-quickdialog;

 

posted @ 2015-03-01 21:13  南望青天  阅读(1102)  评论(0编辑  收藏  举报