Iphone - using UISwitch

I need to implement a view in which I need the user to answer a few questions using YES or NO. I was thinking about using UISwitch, but as far as I can see, it does not allow replacing the ON / OFF messages that it displays with YES / NO. I am wrong?

I was thinking of implementing a segmented control with two buttons, but it is like using a gun to kill a fly ...

Any suggestions on how to do this?

thank

+3
source share
2 answers

I think you should make custom Yes and No buttons that will be selected when clicked.

, , Apple.

+1

ArsTechnica: UISwitch

+3

Source: https://habr.com/ru/post/1738653/


All Articles