[英]UISwitch not displaying on/off in other languages
I am using a UISwitch in the ViewController, it displays as ON and OFF, but when I change to different language like french and spanish , the UISwitch is displayin as 1/0 . 我在ViewController中使用UISwitch,它显示为ON和OFF,但是当我更改为法语和西班牙语等其他语言时,UISwitch显示为1/0。 What is the reason ? 是什么原因 ? How to solve it ? 怎么解决呢?
you can try this custom switch, 您可以尝试使用此自定义开关,
https://github.com/domesticcatsoftware/DCRoundSwitch https://github.com/domesticcatsoftware/DCRoundSwitch
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.