I'm creating UICollectionViewCompositionalLayout with NSCollectionLayoutSection. I have section with assigned header. Setting contentInsets on section works as expected but setting contentInsets on header works only for horizontal alignment (leading and trailing are ok). The problem is that top and bottom insets are not working for header. Section has supplementariesFollowContentInsets set to false and header has extendsBoundary set to true. Any ideas why it is happening? I can post code but for now I did't because it's very long.
Thanks!