ifish/Ifish/views/setViewCell/TemperatureSetCell.m

35 lines
801 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:@"topround"]];
//可用下面替换
// self.selectionStyle = UITableViewCellSelectionStyleNone;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];
// Configure the view for the selected state
}
@end