简体   繁体   中英

How can I create grid view of images? On click of a image it should open that image

How can I create the grid of images, like How it happens in the iPad photos app and on image click it should open that image, Can anybody give me some tutorial link or example code? Thanx in advance.

There are several open source options to consider:

https://github.com/elc/ELCImagePickerController
https://github.com/gdavis/FGallery-iPhone
https://github.com/kolinkrewinkel/KKGridView/
https://github.com/danielctull/DTGridView
https://github.com/samsoffes/sstoolkit (SSCollectionView)

Some of these will enlarge the photo automatically, and for other's you'll have to implement that part yourself. I've personally used FGallery and found it very full-featured, easy to use, and stable.

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