Thursday, 6 June 2019

UICollectionViewController with dynamic header

I am looking for a way to implement a header view that automatically hides once you start scrolling down and immediately shows itself once the user starts scrolling up. Usually, I always post some code, but now I am a little bit lost on how to implement such behaviour.

My view layout: * UICollectionViewController with paging enabled for horizontal scrolling. * I have two Items, each has a UICollectionViewCell that hosts another UIScrollView for vertical scrolling.

Video: https://imgur.com/a/Rdu3wko

What would be the best way to implement such a behaviour?



from UICollectionViewController with dynamic header

No comments:

Post a Comment