How to enable zoom for two different scroll view in single view?
I am displaying two images on single view where both images must have zoom
functionality.My page height is around 1000 pixels and images must be
display on top and bottom of page. For that I have added two different
scroll view and added image views on scroll views.
Now Zoom is working properly for second image .But first image is getting
displayed in top left corner of scroll view once zoomed out. It seems
there are two images.
Here is the delegate method i am using:
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView{
return [[scrollView subviews] objectAtIndex:0];
}
Is there anything i am missing ? or is this not really possible to enable
zoom when there are two scroll views for single page.
No comments:
Post a Comment