UITableViewCells shouldn't always remove all animations on reuse

Originator:lap.felix
Number:rdar://48300412 Date Originated:February 21 2019, 10:34 PM
Status:Open Resolved:
Product:iOS + SDK - UIKit Product Version:12.2
Classification: Reproducible:
 
Area:
UIKit

Summary:
UITableViewCell seems to call a method that removes all the cell's animations in -[UITableViewCell prepareForReuse].

This is especially a hassle when implementing a special fade-in animation for individual cells in a UITableView that occasionally reloads its data during the animation.

If we could have a "removeAnimationsOnReuse" property that would default to YES, it would be great.

I attached a sample project that demonstrates the issue. ( https://dsc.cloud/felix/UITableViewRemoveAllAnimations.zip )

Version/Build:
Xcode 10.2
iOS 12.2 beta 3

Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!