问题如图
该问题是因为设置了
if (@available(iOS 11, *)) {
UIScrollView.appearance.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}
引起的。
解决方案
在弹出系统相册前加入
if (@available(iOS 11, *)) {
UIScrollView.appearance.contentInsetAdjustmentBehavior =