Visual bug when setting UITableViewCell contentConfiguration when swipe to delete button is showing

Originator:indiekiduk
Number:rdar://FB7977764 Date Originated:13/7/20
Status:Open Resolved:No
Product:UIKit Product Version:14b2
Classification:Bug Reproducible:Always
 
When a table cell has been swiped so the red delete button is showing, if the cell's text label is updated by setting the new contentConfiguration property with a new configuration object that has updated text, the delete button disappears.

Please see attached screen capture.

Please see attached sample project and follow these instructions:

Open project in Xcode 12 beta 2
Launch app in iPhone SE (2nd generation simulator)
Click the + button to add a row that appears with current time.
Tap the reload button to experience the time on the cell being updated.
Drag to the left on the cell to show the red delete button.
Tap the reload button.

What expect to happen.
The time on the cell text label should update but everything else stay the same.

What happens.
The red delete button disappears.

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!