Giving a proper size in UICollectionViews cell is pain as ass.
Fortunately, iOS gives us UICollectionViewCompositionalLayout.
But we still can not make it work based on our requirements.
We would like to achieve the same on a horizontal UICollectionView, with requirements
Fixed height 44
Minimum width 44
We tried https://stackoverflow.com/questions/63669680/attempt-to-achieve-fixed-height-dynamic-width-wrap-content-horizontal-uicolle, but it did not work.
Does anyone have any idea how to correct this? Thanks.