You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
37 lines
1.0 KiB
4 years ago
|
//
|
||
|
// WXYZ_CompositeEmbeddedTableView.m
|
||
|
// WXReader
|
||
|
//
|
||
|
// Created by Andrew on 2019/6/13.
|
||
|
// Copyright © 2019 Andrew. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "WXYZ_CompositeEmbeddedTableView.h"
|
||
|
|
||
|
@implementation WXYZ_CompositeEmbeddedTableView
|
||
|
|
||
|
- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style
|
||
|
{
|
||
|
if (self = [super initWithFrame:frame style:style]) {
|
||
|
self.backgroundColor = [UIColor clearColor];
|
||
|
self.showsVerticalScrollIndicator = NO;
|
||
|
self.showsHorizontalScrollIndicator = NO;
|
||
|
self.sectionFooterHeight = 10;
|
||
|
self.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||
|
|
||
|
if (@available(iOS 11.0, *)) {
|
||
|
self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
||
|
} else {
|
||
|
// Fallback on earlier versions
|
||
|
}
|
||
|
}
|
||
|
return self;
|
||
|
}
|
||
|
|
||
|
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
|
||
|
{
|
||
|
return YES;
|
||
|
}
|
||
|
|
||
|
@end
|