UISwitch glass effect not visible when reloading UITableView

Hi Team I’m facing an issue with UISwitch inside a UITableViewCell on iOS 26.

When the switch is toggled, I update my data and call tableView.reloadData(). Since both the switch animation and table view reload happen at the same time, the UISwitch does not show its glass effect properly (it looks flat/missing during the animation).

If I delay the reload, the switch renders correctly.

Is this a known issue? Is there a recommended way to handle this without affecting the switch’s visual appearance?

Hello NithinChintha,

It's generally advisable not to use reloadData() often, as it causes a full redraw of the hierarchy. Could you instead reload the specifically affected rows, leaving the cell with the switch alone?

Hoping this helps,

Richard Yeh  Developer Technical Support

Hi

We have tried reloading only the specific rows, but the issue is still happening. Please check the attached screenshot as not able to add video recording

Hello NithinChintha,

Do you get the same results with just the relevant code in a small test project? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project.

Richard Yeh  Developer Technical Support

UISwitch glass effect not visible when reloading UITableView
 
 
Q