• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS: Adding pinch-zoom to UIImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iOS: Adding pinch-zoom to UIImageView
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: My services in my own app
  • Next by Date: willPresentError being called with NSDocumentErrorRecoveryAttempter object
  • Previous by thread: Re: iOS - Designing a view controller with multiple views
  • Next by thread: Re: iOS: Adding pinch-zoom to UIImageView
  • Index(es):
    • Date
    • Thread