TableView编辑状态下跳转页面的崩溃处理
|
I have a viewController with a
However, if I have a delete button revealed, and at the same time I use back navigation of my [ViewController tableView:canEditRowAtIndexPath:]: message sent to deallocated instance 0xaae64d0 How can I resolve this problem? |
|
In your view controller's |
|||||||||||||||||||||||||||||||||
|
|
I had the same problem, but I was using ARC and I didn't want to be mucking about in the dealloc method. Doing it in viewWillDisappear was sufficient to stop the crash.
|
|||||||||||||||||||||||||||||||
|
浙公网安备 33010602011771号