开发者

iphone - using a UISwitch

I need to implement a view where I need the user to answer several questions using YES or NO. I thought of using a UISwitch but as far as I see it does not allows replacing the ON/OFF messages it shows with YES/NO. Am I wrong?

I thought of implementing a segmented control with 2 buttons but this开发者_Go百科 is like using a cannon to kill a fly...

Any suggestions on how to do that?

thanks


ArsTechnica: Robust UISwitch label swaps


I think you should make custom "Yes" & "No" buttons that get selected when pushed.

This way, you'll have more control on the design and you'll be safe from Apple rejection.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜