37 lines
838 B
Objective-C
37 lines
838 B
Objective-C
//
|
|
// BrightnessCell.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 16/3/14.
|
|
// Copyright © 2016年 imac. All rights reserved.
|
|
//
|
|
|
|
#import "BrightnessCell.h"
|
|
|
|
@implementation BrightnessCell
|
|
|
|
- (void)awakeFromNib {
|
|
// Initialization code
|
|
self.backgroundView=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"guidengCell_back"]];
|
|
UIView *clearView=[[UIView alloc] init];
|
|
clearView.backgroundColor=[UIColor clearColor];
|
|
clearView.frame=self.bounds;
|
|
|
|
self.persentLabel.hidden = YES;
|
|
|
|
[self setSelectedBackgroundView:clearView];
|
|
//可用下面替换
|
|
// self.selectionStyle = UITableViewCellSelectionStyleNone;
|
|
|
|
|
|
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
}
|
|
|
|
@end
|