Skip to content

Commit a1fca9c

Browse files
committed
2.1.0 减少侵入 使用通知处理
1 parent fd02b7b commit a1fca9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SHScrollLayout/SHTableView.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ - (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
2626
if (self) {
2727
//默认主视图可以滚动
2828
self.canScroll = YES;
29+
//计算一下
30+
self.isUpdate = YES;
2931

3032
if (@available(iOS 11.0, *)) {
3133
self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;

0 commit comments

Comments
 (0)