How to change the color of the switch button when toggling for IOS Xamarin Forms? Custom render will set the color just once:
Xamarin forms toggle button default color on IOS
and it won't be changed when the Switch is toggled. Same goes and for setting values in AppDelegate.cs it will be done only once. I need this:
In IOS its only possible using:
UISwitch.Appearance.ThumbTintColor = UIColor.Brown;
UISwitch.Appearance.OnTintColor = UIColor.Red;
but how I can access that field if my switch is in PCL project, and its used for Xamarin Forms.