In the demo project I can press "add a new tag"button to add a UICollectionViewCell whoes label contains my newly input text.
This is the target effect:
In the current state, i reconfigure cell UI in cellForItemAtIndexPath function and resize cell size in sizeForItemAtIndexPath function. But these operations seem cause the minimumInteritemSpacing not work. I use the UICollectionViewFlowLayout.
Aucun commentaire:
Enregistrer un commentaire