I'm working in a UICollectionView
and I'm using the "Setion Header" option, everything is working fine except that in landscape mode the iPhone X does not fill completely.
I tried to find a solution for example with this but it does not work for me:
if #available(iOS 11.0, *) {
myCollection?.contentInsetAdjustmentBehavior = .always
}
Any suggestions on this?
In portraid it looks good:
Order of my views: