UIAnimator message sent to a freed instance

Hey guys, I'm crazy.

*** -[UIAnimator removeAnimationsForTarget:]: message sent to deallocated instance 0x5ba13d0

This happens at different times when I look at my table view, when I switch my filter (UISegmentedControl).

Help me, I'm crazy with these guys :) How can I fix it?

+3
source share
3 answers

I just solved the same problem. I thought this was related to UIAnimation, but it was related to UITableViewCell. I found a good starting point by looking at this article.

http://marius.me.uk/blog/2011/mar/fixing-uianimator-removeanimationsfortarget-crash/

Good luck and let me know!

+3
source

(, [UIAnimator removeAnimationsForTarget:], UITableViewCell, , , , , . , , UI. , popViewController:animated: . , .

+3

@er0 @notme .

Cell storyBoard tableView:cellForRowAtIndexPath, . UITableViewCell (AFAIK).

@er0: , , .

performSelectorOnMainThread:withObject:waitUntilDone

.

, tableView:cellForRowAtIndexPath . - dequeueReusableCellWithIdentifier indexPath. if-else , dequeueReusableCellWithIdentifier indexPath. , performSelectorOnMainThread".

notme.

0

Source: https://habr.com/ru/post/1794328/


All Articles