iOS 11首页适配
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user