Initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user