How to wrap self sizing UICollectionViewCell
As far as I can tell, it's possible but complex - here are a few pointers of what I'd say you're going to need:
- 2 additional collection view cell types: in the first, only the left edges are rounded, in the second only the right
- Use Core Text API to measure where your text needs to be wrapped
- In your datasource, you're going to have to then recognize the situation before you create the cells and then instead of creating a single cell, you create two, using those new types you have.