hebertialmeida/HAPaperViewController

Resize / scale question

johannwilfling opened this issue · 0 comments

I'm playing around with the transition of the CollectionViewLayout of the example and couldn't figure out how to autoresize the content of the cell between the small and large layout.

E.g. I have an UILabel within the CollectionViewCell which should be half the width of the cell. When the transition to the large layout is finished, the label should be also half of the cell, but with a larger font size (or resized).

Use autolayout here or scale the contentView with CGAffineTransformMakeScale?

Any advice would be helpful .. ;)