最近在学习ios开发,在Start Developing iOS Apps Today中的例子,有done和cancel button绑定到exit的unwind segue,根据教程的方法在ios7中是可用的,但是到了ios8中就没有反应。
目前的解决方案是看的stackoverflow上的Stewart Hou大神给的:
http://stackoverflow.com/questions/25654941/unwind-segue-not-working-in-ios-8
在storyboard选中你的segue箭头,在右边attributes inspector的中的presentation改成current context就可以了。
现在还不知道为什么,但是持续关注中。。。
ps:发现升级到ios8以后,不少app都会崩溃,看来ios8改动很大,对于app开发者来说也是比较头疼的,大家加油!