Implementing a CoverFlow View

Giovanni Filaferro picture Giovanni Filaferro · Oct 7, 2012 · Viewed 11.2k times · Source

I have to create a view where I have to put in a CoverFlow of Images. How can I crete it? There would be images with labels that can explain the image.

Answer

AliSoftware picture AliSoftware · Oct 7, 2012

There are plenty of ways to do it

  • If you application is iOS6+ only and don't need to support iOS5, you can use UICollectionView to implement it. You will need to build some custom layout -- see session 219 of WWDC'12 here after you have logged in using your Apple ID. You can also find plenty of tutorials on the net, simply google for the UICollectionView keyword.
  • If you need to support iOS5 or earlier, or if you don't want to build your own custom UICollectionViewLayout, you can use some of the already made classes -- there are a lot of them around on the net. One of the most famous being iCaroussel on github, which is free, compatible with multiple versions of iOS (not only iOS6), and allows you to do almost every kind of caroussel, including iCarouselTypeCoverFlow and iCarouselTypeCoverFlow2 types (see the README on its github)