I have got the following error, -[CALayer isKindOfClass:]: message sent to deallocated instance, although I am using ARC
What happen is,
- View Controller A has a table view and search field.
- View Controller B has a subView of type UIView, where this subview contains UITextView.
When I navigate to View Controller B and navigate back to View Controller A, if I tab on the search field the App will crash and gives me the above error.
I have done lots of debugging and I found the deallocated instance is the UITextView in the View Controller B.
If you could you please help me, why this happen.
Many thanks.