iphone - Justify last line of UICollectionView -


As far as I can see, UICollectionViewFlowLayout Correct all the rows. For example, if there are not enough items to fill more than 1 line, the result is not appropriate.

Enter image details here

either the configuration or subclass < What is the easiest way to code> UICollectionViewFlowLayout that it will also justify the last line of a section?

Enter image details here

< Div class = "post-text" itemprop = "text">

You move it to the last UICollectionViewFlowLayout subclassing and override layoutAttributesForElementsInRect: and layoutAttributesForItemAtIndexPath: For the Frame item of the UICollectionViewLayoutAttributes by changing the property of the property (except where the first is already true) first line.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -