iOS11调起相册 中的照片被导航栏遮挡 在UIImagePickerController 使用处增加 if (@available(iOS 11, *)) { UIScrollView.appearance.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentAutomatic; }