0

我想要多张照片,比如标准画廊

标准画廊

我想捏放大所有照片。我可能对每张图片都有一个 UIImageView (我是对的),所以当我捏入画廊视图时,我想缩放所有画廊。这可能吗?如何?

4

2 回答 2

0

Try this: put all your photos in one view, that would be subview of your scrollview. Then, in your scrollview delegate implement method

- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView

In which just return view that contains all photos. Do not forget to set appropriate scrollview content size and maximum and minimum zoom scale.

于 2012-06-18T10:55:19.460 回答
-1

put the pictures in a scollview. set the property scrollview.scalePagesToFit; . set the scrollView delegate.

于 2012-06-18T10:58:29.810 回答