簡體   English   中英

如何創建圖像的網格視圖?單擊圖像時,應打開該圖像

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

我如何創建圖像網格,如在iPad照片應用程序中如何發生以及在圖像上單擊它應該打開該圖像,任何人都可以給我一些教程鏈接或示例代碼? Thanx提前。

有幾個開源選項需要考慮:

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

其中一些會自動放大照片,而另一些則需要自己實現。 我個人使用過FGallery,發現它非常全功能,易於使用且穩定。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM