Has anyone solved the UITableView text persistence or overlapping issue in iOS 16.1 iPhone 14 Pro and 14 Pro Max?
If anyone has solved the problem by modifying the code, please reply.
I posted on the forum a while ago and forwarded the issue to Apple Feedback. Link to the forum post: https://developer.apple.com/forums/thread/718401 (Sample code and video links are in the article above.)
However, it was confirmed today that iOS 16.1 did not improve on the iPhone 14 Pro Max.
After making the cell of UITableView display text with UITextView or UILabel The text color is set to black and the background to white. (The afterimage is displayed in black, so it must be reproduced with a white background.)
UITableView srollToRow Calls the next or previous Row in the current Row without any animation effects as shown in the code below.
tableView!.scrollToRow(at: IndexPath(row: self.pIndex, section: 0), at: .top, animated: false)
And the call to scrollToRow is UITapGestureRecognizer , which makes it scroll one page at a time when the user taps.
At this time, the cell height of UITableView is set to the total height of the device.
This will briefly display the text content that was just previously displayed in black. (Sometimes it is displayed a little longer.)
So the current page text and the previous page text overlap. There is a phenomenon that the contents of the previous page disappear.
In a slightly animated effect, it feels like a transition to the next page, leaving an afterimage of the previous page content. But I didn't add any animation effects in the motion.
This is definitely happening on the iPhone 14 Pro and 14 Pro Max.
We think it might be an iOS error. I don't think it will be improved as iOS will be updated soon. (No feedback from Apple as of today.)
So, if you have experienced the same problem and solved it through code, please help.
Even if it is improved with an OS update in the future, there are users who are currently uncomfortable, so if there is a way, I am thinking of including it in the app update.