[英]How to retrieve images path from database and display images path in thumbnail like photo gallery in iphone
I am new to iPhone programming.I have stored images path in database.Now i want to retrieve that images path and after that using that path i want to display images in thumbnail,like photo gallery images.And i can able retrieve that images path from database,i have stored that images path in array,now i want to display all images in thumbnail how to do this.Can any body help me. 我是iPhone编程的新手。我已将图像路径存储在数据库中。现在我想检索该图像路径,然后使用该路径我要以缩略图的形式显示图像,例如相册图像。并且我能够检索该图像路径从数据库中,我已经将该图像路径存储在数组中,现在我想以缩略图显示所有图像如何执行此操作。任何机构都可以帮助我。
Thanks 谢谢
For iOS 6
and above I would suugest to use UICollectionView and PSTCollectionView . 对于
iOS 6
及更高版本,我建议使用UICollectionView和PSTCollectionView 。
The goal is to use PSTCollectionView
on iOS 4/5
as a fallback and switch to UICollectionView
on iOS6. 我们的目标是使用
PSTCollectionView
于iOS 4/5
作为备用,并切换到UICollectionView
在iOS6的。 We even use certain runtime tricks to create UICollectionView
at runtime for older versions of iOS. 我们甚至使用某些运行时技巧在运行时为旧版本的iOS创建
UICollectionView
。 Ideally, you just link the files and everything works on older systems. 理想情况下,您只需链接文件,一切就可以在旧系统上运行。
Otherwise ,use AQGridView OR ZZGridView 否则 ,请使用AQGridView或ZZGridView
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.