How to get rid of safeAreaInsets on UIScrollview (iOS 11, iPhoneX)
I have a horizontal paging UIScrollview , following is my VFL constraints for leading/trailing H:|-0-[ScrollView]-0-| (aligned to superview). I have left/right safeAreaInsets on landscape orientation in iPhone X. Is it a bug? or I am missing any Apple way that these insets will not be applied when we do not need? I am using following to skip content inset adjustment: UIScrollview.contentInsetAdjustmentBehavior = .never I found that in iOS 11 UIScrollViewContentInsetAdjustmentBehavior.always includes safe area layout guide and apply these margins as insets, so tried .never it worked )) If you