I want to have a switch with the colors reversed for On and Off state. Say in ON state, thumb color = blue and track color = red, then in OFF state I want to have thumb color = red and track color = blue.
How do I implement this in xamarin.iOS. (not forms). Thanks in advance.
You could try the following code:
For more info, you could refer to UISwitch
This is the result for on and off state:
Hope it helps!