How to change UISwitch name in iphone? [duplicate]
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.
精彩评论