My Switch animation stuck somewhere between on and off. It happens after the switch goes out of screen bounds (The switch is inside the table view cell). I don't face this issue if I don't let the cell to go out of the screen bounds. I've set breakpoints to figure out what's happening and realized that this happens at the moment I change the switch value. The GIFs below are for a better understanding of what I mean. The first one shows the behavior I'd like to fix. The second one is OK.
[