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

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -