iOS: Adding pinch-zoom to UIImageView
iOS: Adding pinch-zoom to UIImageView
- Subject: iOS: Adding pinch-zoom to UIImageView
- From: Jon Sigman <email@hidden>
- Date: Mon, 16 Jan 2012 13:57:13 -0800 (PST)
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), and checking 'Multiple Touch' and 'User Interaction Enabled' for both views, but now I just get a white screen. What's the typical way to add pinch capability to a UIImageView?
_______________________________________________
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