困扰了很久的问题终于寻觅到解决方案,在此共享下。
字面意思就是消息发送给已经释放的对象。
解决方案 在你popToRootViewController之前 将
_tableView.dataSouce = nil;
_tableView.delegate = nil;
如果是其他代理方法报类似错误,也需要将dataSource 和delegate设置为nil就好了
[numberOfSectionsInTableView:]: message sent to deallocated instance 0x17c8bc00
原文:http://blog.csdn.net/liuxu0718/article/details/44609543