Pierre
Pierre

Reputation: 1277

Need some help to design a custom carousel component in Swift

I have to design a "carousel" component for my iOS (Swift) app, like below.

I guess it's kind of UICollectionView or UIPageViewController, but I haven't any ideas how to implement this. The swipe gesture must bring the next slide to front by disappearing the previous one.

carousel wireframe

Upvotes: 1

Views: 669

Answers (1)

Pierre
Pierre

Reputation: 1277

Thanks to @andrei, I made my component using pagingEnabled = true.

Upvotes: 0

Related Questions