When trying to change isOn property programmatically, it changes Switch color successfully, but however it does not animate back the switch to its corresponding state position.
What I'm doing is:
1- Initialize a Switch with an OFF state.
2- Turn Switch ON with a gesture.
3- Then for some reason I need to programmatically turn Switch OFF again, so I do switch.isOn = false.
And I see what I detailed before. The switch isn't getting back to it's full OFF state position
When trying to change isOn property programmatically, it changes Switch color successfully, but however it does not animate back the switch to its corresponding state position.
What I'm doing is:
1- Initialize a Switch with an OFF state.
2- Turn Switch ON with a gesture.
3- Then for some reason I need to programmatically turn Switch OFF again, so I do switch.isOn = false.
And I see what I detailed before. The switch isn't getting back to it's full OFF state position