开发者

How to change UISwitch name in iphone? [duplicate]

This question already has answers here: 开发者_运维百科 Closed 11 years ago.

Possible Duplicate:

How to customize UISwitch button in iphone?

How to change name of UISwitch (like on,off) i am creating UISwitch in Xib so i want to change the name like yes or no.


You will have to create a custom switch...

http://www.catamount.com/blog/1063/uicustomswitch-customizing-uiswitch-color-it-change-labels/

this should help


There is no public API method for changing the text on an UISwitch

You should use a UISegmentedControl or a Custom UISwitch


This one I found is very useful for creating the custom switch

http://osiris.laya.com/projects/rcswitch/

You can create the custom switch and there will not be any problem in apple approval.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜