Problems occur:
1. There is no navigation bar, and the full screen is a scroll view.
2. When drawing a UIScrollerView with xib and removing the safe area, the page always appears to be offset by the height of the status bar.
Problem solving method:
1. Code
if (@available(iOS 11.0,*)) {
self.backScrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}else{
self.automaticallyAdjustsScrollViewInsets = NO;
}
2. Modify the configuration of the xib file, modify the value here, and modify it toNever