I am constructing a chat interface utilizing a UITableView, and I have been utilizing the normal flipping strategy to make messages seem from backside to high:
tableView.remodel = CGAffineTransform(scaleX: 1, y: -1)
After which for every cell:
cell.contentView.remodel = CGAffineTransform(scaleX: 1, y: -1)
It principally creates a tableview that scrolls to the highest, simulating native messages displaying. This labored high quality on iOS 18 and earlier — nonetheless, on iOS 26 beta, the navigation bar shadow (the one which seems beneath a UINavigationBar) additionally seems flipped, as if it inherits the desk view’s remodel.
What I’ve tried:
Solely flipping cell.contentView and never the desk view — this breaks the format of the scroll route.
Wrapping the desk view in a container and flipping that — similar end result.
I do know that the majority of you recommend that i steer away from transformations and create a distinct format logic however I wish to keep away from that as a result of it could require a extra severe refactor.