Can we set a different stream schedule in different sections in a UICollectionView?

Here is an image for explanation http://childhoodgamedev.qiniudn.com/xincheng_demo.png

Question Description

In section 0, the flow schedule is general, like a grid; in section 1, the flowlayout is circular (they are in the UICollectionView).

goal

With users scrolling, the first part is the splitting of the grid, the second part is the usual and complex flow schedule.

Can this be implemented? If not, are there any good ideas? Thanks.

+6
source share
1 answer

It seems ChildhoodAndy has solved its problem, but for future readers this is probably a good candidate for the UIPageViewController using the UIPageViewControllerTransitionStyleScroll . Each page will be its own UICollectionViewController with any custom layout.

+1
source

Source: https://habr.com/ru/post/978978/


All Articles