29down votefavorite 12 |
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? |
up vote57down voteaccepted |
In your view controller's
|
||||||||||||||||||||||||||||||||
|
up vote35down vote |
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.
|
||||||||||||||||||||||||||||||
|
欢迎加群互相学习,共同进步。QQ群:iOS: 58099570 | Android: 330987132 | Go:217696290 | Python:336880185 | 做人要厚道,转载请注明出处!http://www.cnblogs.com/sunshine-anycall/p/4343859.html