UITableViewCell content view not animating on iOS 10 devices with UITableViewAutomaticDimension

Originator:kneller
Number:rdar://27679031 Date Originated:3 August 2016
Status:Open Resolved:
Product:iOS Product Version:iOS 10 Betas 1-4
Classification: Reproducible:Always
 
Area:
UIKit

Summary:
This bug is seen on iOS 10 when built in either XCode 7 or 8

We have a table view with UITableViewAutomaticDimension. When placing a view inside a cell, animating intrinsicContentSize changes using animateWithDuration, and animating the cell size change with beginUpdates/EndUpdates, the cell frame animates but the contentView frame jumps immediately to the new position.

Steps to Reproduce:
In an XCode 7 project:

1. Create a table view with UITableViewAutomaticDimension
2. Add a view to one of the cells with edge constraints
3. Animate intrinsicContentSize change to the view with animateWithDuration / layoutIfNeeded
4. Animate the cell height change with beginUpdates/EndUpdates

Expected Results:
Cell, content view, and subview all animate the height change together.

Actual Results:
On iOS 10, the cell and subview are animated. The content view immediately jumps to the end position.
On iOS 9, the cell, content view and subview are all animated.

Version:
XCode 7 / iOS 10 Betas 1-4

Notes:
I've attached an XCode 7 project that demonstrates this, the cell (yellow) and content view (blue) do not animate together.

Configuration:
Simulator and device

Attachments:
'TransitionTest.zip' was successfully uploaded.

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!