iPhone - Change the text on a UISwitch from “ON/OFF” to “TRUE/FALSE”?
-
26-10-2019 - |
Question
What would be the best way to go about doing this? Is there a simple solution? Thanks.
Solution
you can't customize this control for submission as per apple Norms
But try this Link
http://www.catamount.com/blog/1063/uicustomswitch-customizing-uiswitch-color-it-change-labels/
instead try with UISegmentControl for displaying - TRUE / FALSE
OTHER TIPS
You can however use SSSwitch from SSToolkit : https://github.com/samsoffes/sstoolkit
With this replacement switch, you can customize the labels to read what you want.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow