Collection view automatic height change

40 views Asked by At

Is it possible to automatically change the height of the collection view in relation to the item size. I get the data from the backend and in that data is the configuration for the items. I can adjust the size of the item but I don't know how to change the height of the collection. I want my height to change to be the same as the size of the item (so that the item is fully visible and not cut or smaller)

1

There are 1 answers

1
Divya Vohra On

No it is manage by using uicollectionviewflowlayout delegate.