小说绘上架版本
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// WXYZ_CompositeEmbeddedTableView.h
|
||||
// WXReader
|
||||
//
|
||||
// Created by Andrew on 2019/6/13.
|
||||
// Copyright © 2019 Andrew. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface WXYZ_CompositeEmbeddedTableView : UITableView
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// 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
|
||||
Reference in New Issue
Block a user