iOS 11首页适配

This commit is contained in:
xuemh 2018-03-30 22:06:17 +08:00
parent 012567db8d
commit cc9eedd198
1 changed files with 3 additions and 0 deletions

View File

@ -688,6 +688,9 @@
[self.tableView addGestureRecognizer:longpress];
_scrollHeight = 64;
if (@available(iOS 11.0, *)) {
self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}
}
-(void)addLongPressGesture:(UILongPressGestureRecognizer *)guesture