button 左边图片右边文字样式-LMLPHP
 
 
状态值 : 正常
button 左边图片右边文字样式-LMLPHP
状态值 : 选中
button 左边图片右边文字样式-LMLPHP
 
#pragma mark - buttonPress
- (void)buttonPress:(UIButton * )sender {
    if (sender.tag == 130) {
        if (!sender.selected) {
            sender.selected = YES;
        } else {
            sender.selected = NO;
        }
    } else if (sender.tag == 131) {
        if (!sender.selected) {
            sender.selected = YES;
        } else {
            sender.selected = NO;
        }
    } else {
        if (!sender.selected) {
            sender.selected = YES;
        } else {
            sender.selected = NO;
        }
    }
}
05-08 15:19