如何用一行UIImageView的行填充UIScrollView [英] How to populate a UIScrollView with UIImageView's lines up in a row
本文介绍了如何用一行UIImageView的行填充UIScrollView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一些有关如何制作UIScrollView
的代码,该UIScrollView
包含与手机随附的iPhone照片的应用程序对齐的UIImageViews.
I need some code on how to make a UIScrollView
that contains UIImageViews lined up like the iPhone photo's app that comes with the phone.
推荐答案
这是此处的常见问题.在执行此操作的各个方面可能会有答案的几个问题是
This is a frequently asked question around here. Several questions that might have answers on the various aspects of doing this are
- 启用了分页和缩放功能的UIScrollView图像/照片查看器
- 在UIScrollView中页面之间的类似照片应用程序的间隙使用分页启用
- 使用UIImageViews浏览页面/照片(类似于Facebook照片应用或主屏幕)
- 是否可能可以像Apple的Photos App一样在UIScrollView中将内容居中?
- 创建多个图像视图,例如照片应用程序iphone sdk
- UIScrollView image/photo viewer with paging enabled and zooming
- Photos app-like gap between pages in UIScrollView with pagingEnabled
- Flicking through pages / photos with UIImageViews (similar to Facebook photos app or home screen)
- Is it Possible to Center Content in a UIScrollView Like Apple’s Photos App?
- create multiple images view like the photo app iphone sdk
Three20框架具有嵌入式组件也是这样做的.
The Three20 framework has a drop-in component for doing just this, as well.
这篇关于如何用一行UIImageView的行填充UIScrollView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文