简体   繁体   English

如何从数据库中检索图像路径并以缩略图的形式显示图像路径,如iPhone中的相册

[英]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及更高版本,我建议使用UICollectionViewPSTCollectionView

The goal is to use PSTCollectionView on iOS 4/5 as a fallback and switch to UICollectionView on iOS6. 我们的目标是使用PSTCollectionViewiOS 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 否则 ,请使用AQGridViewZZGridView

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在iPhone中滑动像页面折叠之类的照片库图像 - How to sliding photo gallery images like pagefolding in iphone 从iPhone中视频文件的保存路径获取缩略图 - getting thumbnail images from saved path of video files in iPhone 在 iPhone 中显示图库中的图像 - Display images from Gallery in iPhone 如何从图库中检索图像并将其路径保存在iPhone的本地数据库中? - How to retrieve image from image gallery and save the path of it in local database in iphone? 如何将所有照片从iPhone照片库读取到应用程序中,我将如何获取照片库的路径? - How to read all images from iphone photo library into application and how i would i get path of photo library? iPhone App可为通过相机或照相馆获得的图像生成缩略图 - iPhone App to generate thumbnail images for the image obtained via camera or photo gallery 如何从照片库获取图像路径以及如何从iphone中的照片库中检索图像? - How to get image path from photo library and how to retrieve the image from photo library in iphone? 如何在iPhone应用程序中将图像集保存到相册 - How to save set of images to photo gallery in iphone app 如何获取从iPhone的库中选择的多个图像的路径? - How to get the path of multiple images selected from library in iPhone? 如何检索照片库路径? - How to retrieve photo library path?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM