Add a simple UIView as header of UICollectionView
In swift like below Register Header View In UICollectionViewDataSource Important is that you are supply the flow layout with the header size Otherwise the data source method will not get called
In swift like below Register Header View In UICollectionViewDataSource Important is that you are supply the flow layout with the header size Otherwise the data source method will not get called