更改uiswitch上的text
为要更改text的uiswitch建立ib连接:例如myswitch,在代码中改变文字:
((uilabel *)[[[[[[self.myswitch subviews] lastobject] subviews] objectatindex:2] subviews] objectatindex:0]).text = @foo;
((uilabel *)[[[[[[self.myswitch subviews] lastobject] subviews] objectatindex:2] subviews] objectatindex:1]).text = @bar;
中国足彩网信息请查看IT技术专栏
2025国考·省考课程试听报名