Recently I have switched to iOS from Android world. I have seen two options for creating horizontal sliders. My goal is to create an horizontal slider of cards present on this image. [![horizontal viewpager cards](https://i.stack.imgur.com/gD0D2.jpg)](https://i.stack.imgur.com/gD0D2.jpg) I got confused which element need to the best option in iOS. Should I use CollectionView for this OR should I use PageViewController for this?
Since I am beginner I cannot use library at this stage with limited knowledge I have. Please suggest me how should I do it