iOS 11首页适配
This commit is contained in:
parent
012567db8d
commit
cc9eedd198
|
|
@ -688,6 +688,9 @@
|
||||||
[self.tableView addGestureRecognizer:longpress];
|
[self.tableView addGestureRecognizer:longpress];
|
||||||
_scrollHeight = 64;
|
_scrollHeight = 64;
|
||||||
|
|
||||||
|
if (@available(iOS 11.0, *)) {
|
||||||
|
self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
-(void)addLongPressGesture:(UILongPressGestureRecognizer *)guesture
|
-(void)addLongPressGesture:(UILongPressGestureRecognizer *)guesture
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue