1234567891011121314151617181920212223242526272829303132 |
- //
- // DRTableViewCell.m
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/17.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "DRTableViewCell.h"
- @implementation DRTableViewCell
- - (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
|