• 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
Re: iOS: Adding pinch-zoom to UIImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iOS: Adding pinch-zoom to UIImageView (From: Jon Sigman <email@hidden>)
 >Re: iOS: Adding pinch-zoom to UIImageView (From: Fritz Anderson <email@hidden>)
 >Re: iOS: Adding pinch-zoom to UIImageView (From: Jon Sigman <email@hidden>)
 >Re: iOS: Adding pinch-zoom to UIImageView (From: "Eric E. Dolecki" <email@hidden>)
 >Re: iOS: Adding pinch-zoom to UIImageView (From: Jon Sigman <email@hidden>)

  • Prev by Date: Re: iOS: Adding pinch-zoom to UIImageView
  • Next by Date: RE: iOS: Adding pinch-zoom to UIImageView
  • Previous by thread: Re: iOS: Adding pinch-zoom to UIImageView
  • Next by thread: RE: iOS: Adding pinch-zoom to UIImageView
  • Index(es):
    • Date
    • Thread