我想要多张照片,比如标准画廊
我想捏放大所有照片。我可能对每张图片都有一个 UIImageView (我是对的),所以当我捏入画廊视图时,我想缩放所有画廊。这可能吗?如何?
我想要多张照片,比如标准画廊
我想捏放大所有照片。我可能对每张图片都有一个 UIImageView (我是对的),所以当我捏入画廊视图时,我想缩放所有画廊。这可能吗?如何?
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.
put the pictures in a scollview. set the property scrollview.scalePagesToFit;
. set the scrollView delegate.