I am trying to implement default photos app like functionality.
I have added an image view to scroll view and implemented below method:
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
{
return self.fileDisplayImageView;
}
Problem is though it is zooming the image, it is adding space around its
bounds when zoomed.
Below is the original image:
http://i.stack.imgur.com/gE1ra.png
Here is the image after zoom, with extra blank space added at top:
http://i.stack.imgur.com/yGnsf.png
Can any one suggest, how can I resolve this problem?
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]