1234567891011121314151617181920212223242526272829303132 |
- //
- // KBTableViewCell.m
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/17.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "KBTableViewCell.h"
- @implementation KBTableViewCell
- - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
- self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
- if (self) {
- self.selectionStyle = UITableViewCellSelectionStyleNone;
- self.backgroundView.backgroundColor = [UIColor whiteColor];
- self.contentView.backgroundColor = [UIColor whiteColor];
- self.backgroundColor = [UIColor whiteColor];
-
- for (UIView *view in self.subviews) {
- if ([view isKindOfClass:[UIScrollView class]]) {
- ((UIScrollView *)view).delaysContentTouches = NO;
- break;
- }
- }
- }
- return self;
- }
- @end
|