if (@available(iOS 11.0, *)) {
scroll.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}
即可解决
if (@available(iOS 11.0, *)) {
scroll.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}
即可解决