Changing the text on a UISwitch

前端 未结 3 1849
没有蜡笔的小新
没有蜡笔的小新 2020-12-03 07:48

The UISwitch currently says ON and OFF. Can I change the text to YES and NO?

Would it be hard? Or do I just rephrase the question I ask the user?

3条回答
  •  Happy的楠姐
    2020-12-03 08:16

    I've done exactly this in iOS 6 with onImage and offImage, here are the images I used:

    enter image description here

    enter image description here

    enter image description here

    enter image description here

提交回复
热议问题