Sarvjeet SinghIf you want a collection view cell with dynamic size.You can follow 2 simple steps-Set the estimatedItemSize property of UICollectionViewFlowLayout in your controller class.May 30, 2017May 30, 2017