Answer the question
In order to leave comments, you need to log in
Any ideas how to implement such an animation?
I tried to do it through the tableView and reduce the height of the cells and sections when scrolling, but this did not give the desired effect. There is an option to do everything custom, that is, a bare scrollView and throw views on it, then reduce them in the code, but I'm not sure if this is the right way.
Does anyone have any ideas how to achieve this effect? Perhaps there are some similar open source solutions?
Answer the question
In order to leave comments, you need to log in
UIview has animation or you can use CGAffineTransform
to smoothly reduce the height of the cells
I'm not sure, but I think it's worth increasing a certain global counter by 1 when rendering cells.
Hang a notification on the counter and perform your actions with certain values.
My opinion is that you need to do this in a table, do not knead the scorlView here.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question