ios - Multiple cell types in UICollectionView -


i had created 2 type of cells collectionview, both of different heights.

enter image description here

but when run app, black cell cut in half. unable understand why. tried changing size of cell, in turn makes black cell on lap cell below it. please this.

enter image description here

thanks

the size of collectionview item has changed dynamically. kindly follow following link solve

uicollectionview - dynamic cell height?


Comments

Popular posts from this blog

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -