Problem:
First jump from one page to edit controller no problem, when returned to the editor controller Click Uitextview A memory leak error, through the zombie breakpoint found error:-[uitextview Textinputview]: message sent to deallocated instance 0x159fc800, test environment is a real machine (iphone5,ios8.4), I tried to test on the iOS10 system, found that there is no problem, maybe IOS8 and 10 of some memory processing strategy is different.
Workaround:
This bug debugging for a long time, finally consulted the data, found in the forum is the problem in the Uitextview category, although the project did not use the category, but the category rewrite the Dealloc method, causing some memory release problems, Comment on the Dealloc method in the category. Although the bug was resolved, I found another uitextview category in the project, and the category also rewritten the Dealloc method, but I did not comment out, the method will not execute, but the memory problem is solved, a face confused, I do not understand how Apple has handled the method of rewriting the system in categary.
Report:
Jump to
About a pit using Uitextview memory leak on iOS8:-[uitextview Textinputview]: message sent to deallocated instance