35 lines
805 B
Objective-C
35 lines
805 B
Objective-C
//
|
|
// TemperatureSetCell.m
|
|
// Ifish
|
|
//
|
|
// Created by imac on 15/11/26.
|
|
// Copyright © 2015年 imac. All rights reserved.
|
|
//
|
|
|
|
#import "TemperatureSetCell.h"
|
|
|
|
@implementation TemperatureSetCell
|
|
|
|
- (void)awakeFromNib {
|
|
// Initialization code
|
|
|
|
UIView *clearView=[[UIView alloc] init];
|
|
clearView.backgroundColor=[UIColor clearColor];
|
|
clearView.frame=self.bounds;
|
|
|
|
[self setSelectedBackgroundView:clearView];
|
|
self.backgroundView=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"set_cellBack"]];
|
|
//可用下面替换
|
|
// self.selectionStyle = UITableViewCellSelectionStyleNone;
|
|
|
|
}
|
|
|
|
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
|
|
[super setSelected:selected animated:animated];
|
|
|
|
// Configure the view for the selected state
|
|
|
|
}
|
|
|
|
@end
|