如何用一行UIImageView的行填充UIScrollView [英] How to populate a UIScrollView with UIImageView's lines up in a row

查看:68
本文介绍了如何用一行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 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆