#x27;Cocoa- Dev List'
Sent: Tuesday, January 17, 2012 11:37 AM
Subject: RE: iOS: Adding pinch-zoom to UIImageView
You need to implement the -viewForZoomingInScrollView: UIScrollViewDelegate
method and return the image view.
Please have a look at Apple's ScrollViewSuite sample code:
h
You need to implement the -viewForZoomingInScrollView: UIScrollViewDelegate
method and return the image view.
Please have a look at Apple's ScrollViewSuite sample code:
http://developer.apple.com/library/ios/#samplecode/ScrollViewSuite/Introduct
ion/Intro.html
> I just added this:
> [scrollVi
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 t
gman
> Cc: Fritz Anderson ; Cocoa- Dev List
>
> Sent: Tuesday, January 17, 2012 11:18 AM
> Subject: Re: iOS: Adding pinch-zoom to UIImageView
>
>
> Did you set the contentSize for the scroll view?
>
>
>
>
>
> Google Voice: (508) 656-0622
> Twitter
nuary 17, 2012 11:18 AM
Subject: Re: iOS: Adding pinch-zoom to UIImageView
Did you set the contentSize for the scroll view?
Google Voice: (508) 656-0622
Twitter: eric_dolecki XBoxLive: edolecki PSN: eric_dolecki
http://blog.ericd.net
On Tue, Jan 17, 2012 at 2:11 PM, Jon S
> To: Jon Sigman
> Cc: Cocoa- Dev List
> Sent: Tuesday, January 17, 2012 8:11 AM
> Subject: Re: iOS: Adding pinch-zoom to UIImageView
>
> On 16 Jan 2012, at 3:57 PM, Jon Sigman wrote:
>
> > What's the typical way to add pinch capability to a UIImageView?
>
ist
Sent: Tuesday, January 17, 2012 8:11 AM
Subject: Re: iOS: Adding pinch-zoom to UIImageView
On 16 Jan 2012, at 3:57 PM, Jon Sigman wrote:
> What's the typical way to add pinch capability to a UIImageView?
Put it in a UIScrollView.
— F
__
On 16 Jan 2012, at 3:57 PM, Jon Sigman wrote:
> What's the typical way to add pinch capability to a UIImageView?
Put it in a UIScrollView.
— F
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
I have an iOS iPad app that uses a full screen UIImageView to display some png
images. However, this arrangement doesn't allow the user to pinch-zoom the
image. It seems to ignore gestures. I've tried embedding the UIImageView within
a UIScrollView from IB (using Embed Object in Scroll View), an