在rootViewController中写了一个KVO ,在dealloc中移除观察者。 程序重新运行的时候报错,由于先执行dealloc 后执行viewDidLoad,移除观察者报错。目前想到的方法是[self isViewLoaded]判断下是否执行了viewDidLoad。有没有其他好的解决方法
http://www.cocoachina.com/bbs/read.php?tid=457872
怎么会先执行dealloc??????我很好奇