Re: iOS: Adding pinch-zoom to UIImageView
Re: iOS: Adding pinch-zoom to UIImageView
- Subject: Re: iOS: Adding pinch-zoom to UIImageView
- From: Fritz Anderson <email@hidden>
- Date: Tue, 17 Jan 2012 13:33:21 -0600
On 17 Jan 2012, at 1:30 PM, Jon Sigman wrote:
> I just added this:
> [scrollView setContentSize:CGSizeMake(128.0,96.0)];
> Now I can move the image about within the UIScrollView, but I can't pinch/zoom it.
There are excellent tutorials about this, and you would profit from a skimming of the UIScrollView class reference.
The properties you are looking for are .minimumZoomScale and .maximumZoomScale.
— F
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden