简体   繁体   中英

How to hide a section in UICollectionView

My application has a photo album page that based on UICollection view. This album page may contain more than one album and each album actually is a section of UICollectionView that contains stacked photos. That photos are located in UICollectionCells.

When a user tapped on an album I want other albums to disappear and tapped album's stacked photos spread on whole screen.

  1. How could I hide a section in a collection view?
  2. Is there a 3rd party library to make this kind of photo album.

您可以使用新数据(来自所选相册)重新加载收藏夹视图,或移动到具有新收藏夹视图的视图控制器,该视图将显示所选专辑中的所有图片

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM