UITableView editing broken in iOS 17

I have a dynamic table with 2 sections; 5 rows in the top section and the rest in the second section. I have only the drag handles editing enabled. In earlier versions of iOS, when a row is dragged into the top section from the lower section, it forces a row to move from the end of the top section into the bottom section (so that the top section remains at 5 rows).

In iOS17, this no longer happens. The top section (which is specified as 5 rows in the numberOfRowsInSection delegate method) now has 6 rows. Similar problem if rows are dragged out of the top section. It shrinks rather than bringing in a row from the section below it. I will open a formal report on this. Barry

Official feedback is FB13195763

I've created a demo project. I've saved it as an "xcworkspace" but this system won't let me upload that as a "File", even if I zip it. Tell me how to get it to you.

UITableView editing broken in iOS 17
 
 
Q