自定义UISwitch

在页面中

1 [self.rentSwitch setOnTintColor:[UIColor colorWithRed:0 green:175.0/255
2                                                      blue:176.0/255.0
3                                                     alpha:1.0]];        // 设置选中时控件的颜色

 

posted @ 2013-02-18 15:19  diablo大王  阅读(207)  评论(0编辑  收藏  举报