如何创建图像的网格视图?单击图像后,它应该打开该图像
我怎样才能创建图像网格,就像它在iPad照片应用程序中如何发生以及在图像上单击它应该打开该图像一样,任何人都可以给我一些教程链接或示例代码?提前致谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有几个开源选项可供考虑:
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,发现它功能非常齐全,易于使用,而且稳定。
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.